|
| Plane ()=default |
| Default constructor.
|
|
AMCAX_API | Plane (const Frame3 &frame) |
| Construct from a local frame, XOY plane. More...
|
|
AMCAX_API | Plane (const Point3 &point, const Direction3 &dir) |
| Construct from a point and a direction. More...
|
|
AMCAX_API | Plane (double a, double b, double c, double d) |
| Construct from an algebraic representation: ax + by + cz + d = 0. More...
|
|
AMCAX_API void | Coefficients (double &a, double &b, double &c, double &d) const |
| Get coefficients of algebraic representation: ax + by + cz + d = 0. More...
|
|
AMCAX_API void | UReverse () |
| Reverse the u parameter.
|
|
AMCAX_API void | VReverse () |
| Reverse the v parameter.
|
|
AMCAX_API double | Distance (const Point3 &point) const |
| Compute the distance from a point to the plane. More...
|
|
AMCAX_API double | Distance (const Line3 &line) const |
| Compute the distance from a line to the plane. More...
|
|
AMCAX_API double | Distance (const Plane &plane) const |
| Compute the distance from another plane to the plane. More...
|
|
AMCAX_API double | SquaredDistance (const Point3 &point) const |
| Compute the squared distance from a point to the plane. More...
|
|
AMCAX_API double | SquaredDistance (const Line3 &line) const |
| Compute the squared distance from a line to the plane. More...
|
|
AMCAX_API double | SquaredDistance (const Plane &plane) const |
| Compute the squared distance from another plane to the plane. More...
|
|
AMCAX_API bool | Contains (const Point3 &point, double tol) const |
| Determines whether the plane contains a point under a tolerance or not. More...
|
|
AMCAX_API bool | Contains (const Line3 &line, double distol, double angtol) const |
| Determines whether the plane contains a line under a distance tolerance and an angle tolerance. More...
|
|
void | SetLocation (const Point3 &p) |
| Set the location. More...
|
|
void | SetPosition (const Frame3 &frame) |
| Set the local frame. More...
|
|
void | SetAxis (const Axis3 &axis) |
| Set the main axis (normal axis) of the local frame in 3D. More...
|
|
Axis3 | Axis () const |
| Get the main axis (normal axis) More...
|
|
const Point3 & | Location () const |
| Get the location point. More...
|
|
const Frame3 & | Position () const |
| Get the local frame. More...
|
|
Axis3 | XAxis () const |
| Get the x axis. More...
|
|
Axis3 | YAxis () const |
| Get the y axis. More...
|
|
bool | IsDirect () const |
| Determine whether the local frame is right-handed or not. More...
|
|
Plane & | Mirror (const Point3 &p) |
| Mirror the surface by a point. More...
|
|
Plane & | Mirror (const Axis3 &axis) |
| Mirror the surface by an axis. More...
|
|
Plane & | Mirror (const Frame3 &frame) |
| Mirror the surface by a frame. More...
|
|
Plane | Mirrored (const Point3 &p) const |
| Get the surface mirrored by a point. More...
|
|
Plane | Mirrored (const Axis3 &axis) const |
| Get the surface mirrored by an axis. More...
|
|
Plane | Mirrored (const Frame3 &frame) const |
| Get the surface mirrored by a frame. More...
|
|
Plane & | Rotate (const Axis3 &axis, double angle) |
| Rotate the surface around an axis with an angle in 3D. More...
|
|
Plane | Rotated (const Axis3 &axis, double angle) const |
| Get the surface rotated around an axis with an angle in 3D. More...
|
|
Plane & | Scale (const Point3 &point, double scale) |
| Scale the surface by a center point. More...
|
|
Plane | Scaled (const Point3 &point, double scale) const |
| Get the surface scaled by a center point. More...
|
|
Plane & | Transform (const Transformation3 &tr) |
| Transform the surface. More...
|
|
Plane | Transformed (const Transformation3 &tr) const |
| Get the transformed surface. More...
|
|
Plane & | Translate (const Vector3 &vec) |
| Translate the surface by a vector. More...
|
|
Plane & | Translate (const Point3 &p1, const Point3 &p2) |
| Translate the surface by a vector from a source point to a target point. More...
|
|
Plane | Translated (const Vector3 &vec) const |
| Get the surface translated by a vector. More...
|
|
Plane | Translated (const Point3 &p1, const Point3 &p2) const |
| Get the surface translated by a vector from a source point to a target point. More...
|
|