CFx SDK Documentation 2024 SP0
|
#include <FMMdlSurface.h>
Public Member Functions | |
Cylinder (const OdGeLine3d &axis, const OdGeVector3d &startDir, double dRadius, OdUInt32 approx) | |
Type | type () 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 | |
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 cylindrical objects.
Definition at line 400 of file FMMdlSurface.h.
FacetModeler::Cylinder::Cylinder | ( | const OdGeLine3d & | axis, |
const OdGeVector3d & | startDir, | ||
double | dRadius, | ||
OdUInt32 | approx | ||
) |
Creates a cylinder with the specified axis of rotation, start direction of rotation, radius and approximation.
axis | [in] Axis of the cylinder. |
startDir | [in] Start direction of rotation. |
dRadius | [in] Radius value. |
approx | [in] Approximation. |
OdUInt32 FacetModeler::Cylinder::approximation | ( | ) | const |
Gets the approximation.
|
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::Cylinder::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 478 of file FMMdlSurface.h.
|
protected |
Definition at line 477 of file FMMdlSurface.h.