|
| Sphere ()=default |
| Default constructor.
|
|
AMCAX_API | Sphere (const Frame3 &frame, double r) |
| Construct from a local frame and a radius. More...
|
|
AMCAX_API void | SetRadius (double r) |
| Set the radius. More...
|
|
AMCAX_API void | UReverse () |
| Reverse the u parameter.
|
|
AMCAX_API void | VReverse () |
| Reverse the v parameter.
|
|
AMCAX_API double | Area () const |
| Get the area of the sphere. More...
|
|
AMCAX_API void | Coefficients (double &a1, double &a2, double &a3, double &b1, double &b2, double &b3, double &c1, double &c2, double &c3, double &d) const |
| Get the coefficients of the algebraic representation of the sphere. More...
|
|
AMCAX_API double | Radius () const |
| Get the radius. More...
|
|
AMCAX_API double | Volume () const |
| Get the volume of the ball bounded by the sphere. More...
|
|
AMCAX_API Sphere & | Scale (const Point3 &point, double scale) |
| Scale the sphere by a point. More...
|
|
AMCAX_API Sphere & | Transform (const Transformation3 &tr) |
| Transform the sphere. 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...
|
|
Sphere & | Mirror (const Point3 &p) |
| Mirror the surface by a point. More...
|
|
Sphere & | Mirror (const Axis3 &axis) |
| Mirror the surface by an axis. More...
|
|
Sphere & | Mirror (const Frame3 &frame) |
| Mirror the surface by a frame. More...
|
|
Sphere | Mirrored (const Point3 &p) const |
| Get the surface mirrored by a point. More...
|
|
Sphere | Mirrored (const Axis3 &axis) const |
| Get the surface mirrored by an axis. More...
|
|
Sphere | Mirrored (const Frame3 &frame) const |
| Get the surface mirrored by a frame. More...
|
|
Sphere & | Rotate (const Axis3 &axis, double angle) |
| Rotate the surface around an axis with an angle in 3D. More...
|
|
Sphere | Rotated (const Axis3 &axis, double angle) const |
| Get the surface rotated around an axis with an angle in 3D. More...
|
|
Sphere & | Scale (const Point3 &point, double scale) |
| Scale the surface by a center point. More...
|
|
Sphere | Scaled (const Point3 &point, double scale) const |
| Get the surface scaled by a center point. More...
|
|
Sphere & | Transform (const Transformation3 &tr) |
| Transform the surface. More...
|
|
Sphere | Transformed (const Transformation3 &tr) const |
| Get the transformed surface. More...
|
|
Sphere & | Translate (const Vector3 &vec) |
| Translate the surface by a vector. More...
|
|
Sphere & | Translate (const Point3 &p1, const Point3 &p2) |
| Translate the surface by a vector from a source point to a target point. More...
|
|
Sphere | Translated (const Vector3 &vec) const |
| Get the surface translated by a vector. More...
|
|
Sphere | Translated (const Point3 &p1, const Point3 &p2) const |
| Get the surface translated by a vector from a source point to a target point. More...
|
|