CFx SDK Documentation 2024 SP0
|
#include <FMMdlSurface.h>
Public Member Functions | |
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 | |
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 revolution objects.
Definition at line 256 of file FMMdlSurface.h.
FacetModeler::Revolution::Revolution | ( | const OdGeLine3d & | axis, |
const OdGeVector3d & | startDir | ||
) |
Constructor. Creates a revolution surface with the specified axis of rotation and the start direction vector.
axis | [in] Axis of rotation line. |
startDir | [in] Start direction vector. |
const OdGeLine3d & FacetModeler::Revolution::axis | ( | ) | const |
Gets the axis of the revolution surface.
|
virtual |
Compares surfaces with the specified tolerance.
pOther | [in] Other surface to compare with. |
eps | [in] Comparison tolerance. |
Reimplemented from FacetModeler::Surface.
Reimplemented in FacetModeler::Cone, FacetModeler::Torus, FacetModeler::Sphere, and FacetModeler::Cylinder.
const OdGeVector3d & FacetModeler::Revolution::startDir | ( | ) | const |
Gets the start direction of the revolution surface.
|
virtual |
Transforms the surface with the given transformation matrix.
x | [in] Given transformation matrix. |
Reimplemented from FacetModeler::Surface.
Reimplemented in FacetModeler::Sphere, FacetModeler::Cylinder, FacetModeler::Cone, and FacetModeler::Torus.
|
protected |
Definition at line 303 of file FMMdlSurface.h.
|
protected |
Definition at line 304 of file FMMdlSurface.h.