10#include <klm/eklm/geometry/Arc2D.h>
15 double angle1,
double angle2) :
28 if (m_Angle2 > m_Angle1)
29 return (angle <= m_Angle2 && angle >= m_Angle1);
30 return (angle >= m_Angle1 || angle <= m_Angle2);
36 p.setX(m_Radius * cos(m_Angle1));
37 p.setY(m_Radius * sin(m_Angle1));
Arc2D(double x, double y, double radius, double angle1, double angle2)
Constructor.
bool angleWithinRange(double angle) const
Check if angle is within the arc.
HepGeom::Point3D< double > getInitialPoint() const
Get initial point.
Abstract base class for different kinds of events.