|
| | XPoint (const Point &source=Point(), Position oPos=Point::undefined, Position bPos=Point::undefined) |
| |
| Point * | clonePtr () const |
| |
| XPoint & | operator= (const Point &source) |
| |
| auto | getInfo (Role role) const |
| |
| auto | getPos (Role role) const |
| |
| vertOption | getVertex (Role role) const |
| |
| partOption | getPart (Role role) const |
| |
| void | setInfo (Role role, const XInfo &info) |
| |
| void | setPos (Role role, Position pos) |
| |
| void | setVertex (Role role, vertOption vertexIndex) |
| |
| void | setPart (Role role, partOption partIndex) |
| |
| void | swapIntercept () |
| |
| | Point () |
| |
| | Point (const double &x, const double &y, const double &z=0.0) |
| |
| | Point (const Point &source2D, double z) |
| |
| virtual | ~Point ()=default |
| |
| virtual bool | operator== (const Point &ref) const |
| |
| virtual bool | operator!= (const Point &ref) const |
| |
| virtual bool | operator< (const Point &ref) const |
| |
| Point & | operator= (const Point &source) |
| |
| virtual Point | operator+ (const Point &offset) const |
| |
| virtual Point & | operator+= (const Point &offset) |
| |
| virtual Point | operator- (const Point &offset) const |
| |
| virtual Point & | operator-= (const Point &offset) |
| |
| virtual Point | operator* (const double &mult) const |
| |
| virtual Point | operator* (const Matrix3x3 &matrix) const |
| |
| virtual Point | operator* (const Matrix4x4 &matrix) const |
| |
| virtual Point & | operator*= (const double &mult) |
| |
| virtual Point & | operator*= (const Matrix3x3 &matrix) |
| |
| virtual Point & | operator*= (const Matrix4x4 &matrix) |
| |
| virtual Point | operator/ (const double &mult) const |
| |
| virtual Point & | operator/= (const double &mult) |
| |
| virtual bool | isEqual2D (const Point &ref, double prec=math::eps) const |
| |
| virtual bool | isEqual3D (const Point &ref, double prec=math::eps) const |
| |
| virtual double | lengthFrom2D (const Point &ref) const |
| |
| virtual double | lengthFrom3D (const Point &ref) const |
| |
| Point | rounded2D (double prec=math::eps) const |
| |
| Point | rounded3D (double prec=math::eps) const |
| |
| double | azimuthAngleTo (const Point &ref) const |
| |
| double | altitudeAngleTo (const Point &ref) const |
| |
| Point & | movePolar (double len, double angle) |
| |
| Point & | movePolar (double len, double azim, double alt) |
| |
| virtual | ~Cloner ()=default |
| |
Class to represent an intersection point
NB: The word "intersection" is generally abbreviated to "X" in class names, e.g. XInfo, XList etc. An intersection in this context is always between just 2 geometric components, e.g. a line and arc. Each component is nominally considered to have a role in the intersection – as if one component is cutting the other – namely blade (the cutting component) and target (the component to be cut). Every function calculating an intersection will clearly identity the role of each component, as will the XList collecting the intersections. Every intersection point will contain 2 XInfo objects that describe its relationship to the blade and target (see the docs for XInfo).