35 Arc(
const Coordinate& center,
double radius,
double startAngle,
double endAngle,
bool CCW);
46 std::swap(
_CCW, c._CCW);
54 std::swap(
_CCW, c._CCW);
126 double angle()
const;
132 double bulge()
const;
double _startAngle
Double startAngle of Arc.
Coordinate nearestPointOnEntity(const Coordinate &coord) const
Coordinate startP() const
Arc & operator=(Arc &&c) noexcept
static Arc createArc3P(const Coordinate &p1, const Coordinate &p2, const Coordinate &p3)
friend std::ostream & operator<<(std::ostream &os, const Arc &a)
double _endAngle
Double endAngle of Arc.
static Arc createArcBulge(const Coordinate &p1, const Coordinate &p2, const double bulge)
bool CCW() const
Returns of the arc is in reversed direction.
double endAngle() const
Returns the EndAngle.
Coordinate _center
Coordinate center of Arc.
Coordinate nearestPointOnPath(const Coordinate &coord) const
Arc(const Coordinate ¢er, double radius, double startAngle, double endAngle)
const maths::Equation equation() const
double _radius
Double _Radius of Arc.
double radius() const
Returns the radius of Arc.
virtual void accept(GeoEntityVisitor &v) const override
const Equation move(const geo::Coordinate &v) const
move the quadratic equation by value V
bool isAngleBetween(double angle) const
double startAngle() const
Returns the startAngle.
const Coordinate center() const
Returns center of Arc.