![]() |
Belle II Software development
|
A two dimensional circle in its natural representation using center and radius as parameters. More...
#include <Circle2D.h>
Public Member Functions | |
| Circle2D () | |
| Default constructor for ROOT compatibility. Creates an invalid circle. | |
| Circle2D (const ROOT::Math::XYVector ¢er, const double radius) | |
| Constructs a circle with given center and radius/ orientation as given by the signedRadius. | |
| Circle2D (const ROOT::Math::XYVector ¢er, const double absRadius, const ERotation ccwInfo) | |
| Constructs a circle with given center, absolute value of the radius and orientation. | |
| void | reverse () |
| Flips orientation the circle in place. | |
| Circle2D | reversed () const |
| Returns a copy of the line with the reversed orientation. | |
| void | conformalTransform () |
| Transforms the circle to conformal space inplace. | |
| Circle2D | conformalTransformed () const |
| Returns a copy of the circle in conformal space. | |
| double | distance (const ROOT::Math::XYVector &point) const |
| Calculates the signed distance of the point to the circle line. | |
| double | impact () const |
| Returns the signed distance to the origin. | |
| double | absDistance (const ROOT::Math::XYVector &point) const |
| Returns the euclidean distance of the point to the circle line. | |
| ERightLeft | isRightOrLeft (const ROOT::Math::XYVector &point) const |
| Return if the point given is right or left of the line. | |
| bool | isLeft (const ROOT::Math::XYVector &rhs) const |
| Return if the point given is left of the circle line. | |
| bool | isRight (const ROOT::Math::XYVector &rhs) const |
| Return if the point given is right of the circle line. | |
| ROOT::Math::XYVector | closest (const ROOT::Math::XYVector &point) const |
| Calculates the point of closest approach on the line to the point. | |
| ROOT::Math::XYVector | perigee () const |
| Returns the point closest to the origin. | |
| ROOT::Math::XYVector | tangential () const |
| Gives the tangential vector at the closest approach to the origin / at the perigee. | |
| double | tangentialPhi () const |
| Gives to azimuth phi of the direction of flight at the perigee. | |
| ROOT::Math::XYVector | gradient (const ROOT::Math::XYVector &point) const |
| Gradient of the distance field. | |
| ROOT::Math::XYVector | normal (const ROOT::Math::XYVector &point) const |
| Normal vector to the circle near the given position. | |
| ROOT::Math::XYVector | tangential (const ROOT::Math::XYVector &point) const |
| Tangential vector to the circle near the given position. | |
| double | openingAngle (const ROOT::Math::XYVector &from, const ROOT::Math::XYVector &to) const |
| Calculates the angle between two points as seen from the center of the circle. | |
| double | arcLengthBetween (const ROOT::Math::XYVector &from, const ROOT::Math::XYVector &to) const |
| Calculates the arc length between two points of closest approach on the circle. | |
| double | radius () const |
| Getter for the signed radius. | |
| double | radiusSquared () const |
| Getter for the squared radius. | |
| double | absRadius () const |
| Getter for the absolute radius. | |
| ERotation | orientation () const |
| Indicates if the circle is to be interpreted counterclockwise or clockwise. | |
| ROOT::Math::XYVector | center () const |
| Getter for the central point of the circle. | |
Transformations of the circle | |
| void | moveBy (const ROOT::Math::XYVector &by) |
| Actively moves the circle in the direction given in place by the vector given. | |
| void | moveAlongFirst (const double first) |
| Actively moves the circle in the direction given in place along the first coordinate. | |
| void | moveAlongSecond (const double second) |
| Actively moves the circle in the direction given in place along the second coordinate. | |
| void | passiveMoveBy (const ROOT::Math::XYVector &by) |
| Passively move the coordinate system in place by the given vector. | |
| void | passiveMoveAlongFirst (const double first) |
| Passively move the coordinate system in place along the first coordinate. | |
| void | passiveMoveAlongSecond (const double second) |
| Passively move the coordinate system in place along the second coordinate. | |
Private Attributes | |
| ROOT::Math::XYVector | m_center |
| Memory for the central point. | |
| double | m_radius |
| Memory for the signed radius. | |
A two dimensional circle in its natural representation using center and radius as parameters.
Definition at line 32 of file Circle2D.h.
|
inline |
Default constructor for ROOT compatibility. Creates an invalid circle.
Definition at line 36 of file Circle2D.h.
|
inline |
Constructs a circle with given center and radius/ orientation as given by the signedRadius.
Definition at line 43 of file Circle2D.h.
|
inline |
Constructs a circle with given center, absolute value of the radius and orientation.
Definition at line 50 of file Circle2D.h.
|
inline |
Returns the euclidean distance of the point to the circle line.
Definition at line 118 of file Circle2D.h.
|
inline |
Getter for the absolute radius.
Definition at line 219 of file Circle2D.h.
|
inline |
Calculates the arc length between two points of closest approach on the circle.
Definition at line 201 of file Circle2D.h.
|
inline |
Getter for the central point of the circle.
Definition at line 231 of file Circle2D.h.
|
inline |
Calculates the point of closest approach on the line to the point.
Definition at line 142 of file Circle2D.h.
|
inline |
Transforms the circle to conformal space inplace.
Applies the conformal map in the self-inverse from



Definition at line 80 of file Circle2D.h.
|
inline |
Returns a copy of the circle in conformal space.
Applies the conformal map in the self-inverse from



Definition at line 98 of file Circle2D.h.
|
inline |
Calculates the signed distance of the point to the circle line.
Definition at line 106 of file Circle2D.h.
|
inline |
Gradient of the distance field.
Definition at line 176 of file Circle2D.h.
|
inline |
|
inline |
Return if the point given is left of the circle line.
Definition at line 130 of file Circle2D.h.
|
inline |
Return if the point given is right of the circle line.
Definition at line 136 of file Circle2D.h.
|
inline |
Return if the point given is right or left of the line.
Definition at line 124 of file Circle2D.h.
|
inline |
Actively moves the circle in the direction given in place along the first coordinate.
Definition at line 245 of file Circle2D.h.
|
inline |
Actively moves the circle in the direction given in place along the second coordinate.
Definition at line 251 of file Circle2D.h.
|
inline |
Actively moves the circle in the direction given in place by the vector given.
Definition at line 239 of file Circle2D.h.
|
inline |
Normal vector to the circle near the given position.
Definition at line 183 of file Circle2D.h.
|
inline |
Calculates the angle between two points as seen from the center of the circle.
Definition at line 195 of file Circle2D.h.
|
inline |
Indicates if the circle is to be interpreted counterclockwise or clockwise.
Definition at line 225 of file Circle2D.h.
|
inline |
Passively move the coordinate system in place along the first coordinate.
Definition at line 263 of file Circle2D.h.
|
inline |
Passively move the coordinate system in place along the second coordinate.
Definition at line 269 of file Circle2D.h.
|
inline |
Passively move the coordinate system in place by the given vector.
Definition at line 257 of file Circle2D.h.
|
inline |
Returns the point closest to the origin.
Definition at line 153 of file Circle2D.h.
|
inline |
Getter for the signed radius.
Definition at line 207 of file Circle2D.h.
|
inline |
Getter for the squared radius.
Definition at line 213 of file Circle2D.h.
|
inline |
Flips orientation the circle in place.
Definition at line 58 of file Circle2D.h.
|
inline |
Returns a copy of the line with the reversed orientation.
Definition at line 64 of file Circle2D.h.
|
inline |
Gives the tangential vector at the closest approach to the origin / at the perigee.
Definition at line 164 of file Circle2D.h.
|
inline |
Tangential vector to the circle near the given position.
Definition at line 189 of file Circle2D.h.
|
inline |
Gives to azimuth phi of the direction of flight at the perigee.
Definition at line 170 of file Circle2D.h.
|
private |
Memory for the central point.
Definition at line 277 of file Circle2D.h.
|
private |
Memory for the signed radius.
Definition at line 280 of file Circle2D.h.