Defines a 3D point. More...
#include <cadex/ModelData/Point.hxx>
Public Member Functions | |
Point () | |
Constructor. | |
Point (double theVal) | |
Constructor. | |
Point (const Point &theOther) | |
Constructor. | |
Point (double theX, double theY, double theZ) | |
Constructor. | |
double | X () const |
double | Y () const |
double | Z () const |
void | SetX (double theValue) |
void | SetY (double theValue) |
void | SetZ (double theValue) |
void | Set (size_t theIndex, double theValue) |
void | SetCoord (double theX, double theY, double theZ) |
bool | IsEqual (const Point &theOther, double theTolerance=1e-7) const |
double | Distance (const Point &theOther) const |
double | SquareDistance (const Point &theOther) const |
void | Add (const Vector &theOther) |
Point | Added (const Point &theOther) const |
Point | Added (const Vector &theOther) const |
void | Subtract (const Vector &theOther) |
Point | Subtracted (const Vector &theOther) const |
Vector | Subtracted (const Point &theOther) const |
void | Multiply (const double theScalar) |
void | Multiply (const Matrix3d &theMatrix) |
Point | Multiplied (const double theScalar) const |
void | Divide (const double theScalar) |
Point | Divided (const double theScalar) const |
void | Mirror (const Point &thePoint) |
void | Mirror (const Axis1d &theAxis) |
void | Mirror (const Axis3d &theAxis) |
Point | Mirrored (const Point &thePoint) const |
Point | Mirrored (const Axis1d &theAxis) const |
Point | Mirrored (const Axis3d &theAxis) const |
void | Rotate (const Axis1d &theAxis, const double theAngle) |
Point | Rotated (const Axis1d &theAxis, const double theAngle) const |
void | Scale (const Point &thePoint, const double theScale) |
Point | Scaled (const Point &thePoint, const double theScale) const |
void | Transform (const Transformation &theTransformation) |
Point | Transformed (const Transformation &theTransformation) const |
void | Translate (const Vector &theVector) |
Point | Translated (const Vector &theVector) const |
Point & | operator= (const Point &theOther) |
void | operator+= (const Vector &theOther) |
void | operator-= (const Vector &theOther) |
void | operator*= (const double theScalar) |
void | operator/= (const double theScalar) |
double | operator[] (size_t theIndex) const |
Static Public Member Functions | |
static const Point & | Origin () |
Defines a 3D point.