|
CFx SDK Documentation 2024 SP0
|
#include <FMMdlSurface.h>
Public Member Functions | |
| Sphere (const OdGePoint3d ¢er, double radius, OdUInt32 approx) | |
| Type | type () const |
| const OdGePoint3d & | center () const |
| double | radius () const |
| OdUInt32 | approximation () const |
| OdGeVector3d | normal (const Vertex &atV, const Face &atF) const |
| void | transform (const OdGeMatrix3d &x) |
| int | compare (const Surface *pOther, double eps) const |
| Surface * | copy (Body &to) const |
Public Member Functions inherited from FacetModeler::Revolution | |
| Revolution (const OdGeLine3d &axis, const OdGeVector3d &startDir) | |
| void | transform (const OdGeMatrix3d &x) |
| const OdGeLine3d & | axis () const |
| const OdGeVector3d & | startDir () const |
| int | compare (const Surface *pOther, double eps) const |
Public Member Functions inherited from FacetModeler::Surface | |
| Surface () | |
| virtual Surface * | copy (Body &to) const |
| virtual Type | type () const |
| virtual OdGeVector3d | normal (const Vertex &atV, const Face &atF) const |
| virtual void | transform (const OdGeMatrix3d &x) |
| virtual int | compare (const Surface *pOther, double eps) const |
| Surface * | next () const |
| void | setNext (Surface *s) |
| ~Surface () | |
Public Member Functions inherited from FacetModeler::Entity | |
| Entity () | |
| Entity (const Entity &ent) | |
| Entity & | operator= (const Entity &entity) |
| OdUInt32 | flags () const |
| void | setFlags (OdUInt32 iFlags) |
| bool | isFlagOn (OdUInt32 iFlag) const |
| void | setIsFlagOn (OdUInt32 iFlag, bool bOn) |
| TagType | tag () const |
| void | setTag (TagType nTag) |
| virtual | ~Entity () |
Protected Attributes | |
| OdGePoint3d | m_center |
| double | m_radius |
| OdUInt32 | m_approximation |
Protected Attributes inherited from FacetModeler::Revolution | |
| OdGeLine3d | m_axis |
| OdGeVector3d | m_startDir |
Additional Inherited Members | |
Public Types inherited from FacetModeler::Surface | |
| enum | Type { kUndefined = 0 , kCylinder = 1 , kCone = 2 , kSphere = 3 , kTorus = 4 , kShaded = 5 } |
Protected Member Functions inherited from FacetModeler::Surface | |
| int | surface_compare (const Surface *pOther, double eps) const |
| virtual Surface * | clone (Body &to) const |
Represents facet body spherical objects.
Definition at line 310 of file FMMdlSurface.h.
| FacetModeler::Sphere::Sphere | ( | const OdGePoint3d & | center, |
| double | radius, | ||
| OdUInt32 | approx | ||
| ) |
Constructor. Creates a sphere with the specified center point, radius and approximation.
| center | [in] Sphere center coordinates. |
| radius | [in] Radius value. |
| approx | [in] Approximation. |
| OdUInt32 FacetModeler::Sphere::approximation | ( | ) | const |
Gets the approximation.
| const OdGePoint3d & FacetModeler::Sphere::center | ( | ) | const |
Gets the sphere center coordinates.
|
virtual |
Compares surfaces with the specified tolerance.
| pOther | [in] Other surface to compare with. |
| eps | [in] Comparison tolerance. |
Reimplemented from FacetModeler::Revolution.
Creates a copy of the surface to the specified body.
| to | [in] Destination body. |
Reimplemented from FacetModeler::Surface.
|
virtual |
Gets the normal at the specified vertex on the specified face.
| atV | [in] The vertex at which the normal is computed. |
| atF | [in] The face for which the normal is computed. |
Reimplemented from FacetModeler::Surface.
| double FacetModeler::Sphere::radius | ( | ) | const |
Gets the radius value.
|
virtual |
Transforms the surface with the given transformation matrix.
| x | [in] Given transformation matrix. |
Reimplemented from FacetModeler::Revolution.
|
virtual |
Gets the surface type.
Reimplemented from FacetModeler::Surface.
|
protected |
Definition at line 394 of file FMMdlSurface.h.
|
protected |
Definition at line 392 of file FMMdlSurface.h.
|
protected |
Definition at line 393 of file FMMdlSurface.h.