106 double ratio()
const;
155 auto ce2 = this->
ratio() * this->
ratio() * ce0;
double startAngle() const
startAngle, Returns Start elliptic!! angle of ellipse
Coordinate startPoint() const
startPoint, start point of ellipse
double getEllipseAngle(const Coordinate &coord) const
getEllipseAngle
Ellipse geoscale(const Coordinate ¢er, const Coordinate &factor) const
scale an ellipse at some center by some factor
const double _minorRadius
Ellipse(const Coordinate ¢er, const Coordinate &majorP, double minorRadius, double startAngle, double endAngle, bool reversed=false)
double ratio() const
ratio of major radius to minor radius
virtual void accept(GeoEntityVisitor &v) const override
Coordinate nearestPointOnPath(const Coordinate &coord) const
nearestPointOnPath, (ignore if it arc)
friend std::ostream & operator<<(std::ostream &os, const Ellipse &e)
Ellipse georotate(const Coordinate ¢er, const double rotation_angle) const
rotate an ellipse at a center by an angle
Coordinate getPoint(const double &angle) const
getPoint, return a point on ellipse with given elliptic angle
double majorRadius() const
Major Radius.
double getAngle() const
getAngle of MajorP
static bool isAngleBetween(double a, double start, double end, bool CCW)
isAngleBetween, checks if angle is between
double endAngle() const
endAngle, Return the end elliptic!! angle of ellipse
Coordinate endPoint() const
endPoint, end point of ellipse
const maths::Equation equation() const
Returns the quadratic equation.
std::vector< Coordinate > findPotentialNearestPoints(const Coordinate &coord) const
findPotentialNearestPoints
const Equation move(const geo::Coordinate &v) const
move the quadratic equation by value V
const Coordinate center() const
center, Returns Center point of Ellipse
const Equation rotate(double angle) const
rotate the quadratic equation by value V
double minorRadius() const
minorRadius, Returns the minor radius of ellipse
Coordinate nearestPointOnEntity(const Coordinate &coord) const
nearestPointOnEntity, ( not ignore arc)
const Coordinate majorP() const
majorP, Returns major point of the ellipse, relative to center
bool isAngleBetween(double angle) const