Belle II Software development
|
2D arc. More...
#include <Arc2D.h>
Public Member Functions | |
Arc2D (double x, double y, double radius, double angle1, double angle2) | |
Constructor. | |
~Arc2D () | |
Destructor. | |
bool | angleWithinRange (double angle) const |
Check if angle is within the arc. | |
HepGeom::Point3D< double > | getInitialPoint () const |
Get initial point. | |
const HepGeom::Point3D< double > & | getCenter () const |
Get center. | |
double | getRadius () const |
Get radius. | |
Protected Attributes | |
HepGeom::Point3D< double > | m_Center |
Center. | |
double | m_Radius |
Radius. | |
Private Attributes | |
double | m_Angle1 |
Angle 1. | |
double | m_Angle2 |
Angle 2. | |
Arc2D | ( | double | x, |
double | y, | ||
double | radius, | ||
double | angle1, | ||
double | angle2 | ||
) |
Constructor.
[in] | x | Center X coordinate. |
[in] | y | Center Y coordinate. |
[in] | radius | Radius. |
[in] | angle1 | Angle 1. |
[in] | angle2 | Angle 2. |
Values of angles must be from -M_PI to M_PI (as returned by atan2()).
Definition at line 14 of file Arc2D.cc.
bool angleWithinRange | ( | double | angle | ) | const |
|
inlineinherited |
HepGeom::Point3D< double > getInitialPoint | ( | ) | const |
Get initial point.
|
inlineinherited |
|
protectedinherited |
Center.
Definition at line 61 of file Circle2D.h.
|
protectedinherited |
Radius.
Definition at line 64 of file Circle2D.h.