CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | List of all members
FacetModeler::Cylinder Class Reference

#include <FMMdlSurface.h>

Inheritance diagram for FacetModeler::Cylinder:
FacetModeler::Revolution FacetModeler::Surface FacetModeler::Entity

Public Member Functions

 Cylinder (const OdGeLine3d &lAxis, const OdGeVector3d &vStartDirection, double dRadius, OdUInt32 iAppriximation)
 
Type type () const
 
double radius () const
 
OdUInt32 approximation () const
 
void normal (const FacetModeler::Vertex &atV, const Face &atF, OdGeVector3d &normal) 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)
 
const OdGeLine3d & axis () const
 
const OdGeVector3d & startDir () const
 
- Public Member Functions inherited from FacetModeler::Surface
 Surface ()
 
bool isEqivalent (const Surface *pTo, const OdGeTol &tol) const
 
Surface * next () const
 
 ~Surface ()
 
- Public Member Functions inherited from FacetModeler::Entity
 Entity ()
 
 Entity (const Entity &ent)
 
Entity & operator= (const Entity &)
 
virtual ~Entity ()
 
OdUInt32 flags () const
 
void setFlags (OdUInt32 iFlags)
 
bool isFlagOn (OdUInt32 iFlag) const
 
void setIsFlagOn (OdUInt32 iFlag, bool bOn)
 
FacetModeler::AecTagType tag () const
 
void setTag (FacetModeler::AecTagType nTag)
 

Protected Attributes

double m_radius
 
OdUInt32 m_approximation
 
OdUInt32 m_approximation2
 
- 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
}
 
- Public Attributes inherited from FacetModeler::Surface
Surface * m_pNext
 
- Protected Member Functions inherited from FacetModeler::Surface
int surface_compare (const Surface *pOther, double eps) const
 
virtual Surface * clone (Body &to) const
 
virtual bool _isEqivalent (const Surface &to, const OdGeTol &tol) const
 

Detailed Description

Definition at line 116 of file FMMdlSurface.h.

Constructor & Destructor Documentation

◆ Cylinder()

FacetModeler::Cylinder::Cylinder ( const OdGeLine3d &  lAxis,
const OdGeVector3d &  vStartDirection,
double  dRadius,
OdUInt32  iAppriximation 
)

Member Function Documentation

◆ approximation()

OdUInt32 FacetModeler::Cylinder::approximation ( ) const

◆ compare()

int FacetModeler::Cylinder::compare ( const Surface *  pOther,
double  eps 
) const
virtual

Reimplemented from FacetModeler::Revolution.

◆ copy()

Surface* FacetModeler::Cylinder::copy ( Body &  to) const
virtual

Reimplemented from FacetModeler::Surface.

◆ normal()

void FacetModeler::Cylinder::normal ( const FacetModeler::Vertex &  atV,
const Face &  atF,
OdGeVector3d &  normal 
) const
virtual

Reimplemented from FacetModeler::Surface.

◆ radius()

double FacetModeler::Cylinder::radius ( ) const

◆ transform()

void FacetModeler::Cylinder::transform ( const OdGeMatrix3d &  x)
virtual

Reimplemented from FacetModeler::Revolution.

◆ type()

Type FacetModeler::Cylinder::type ( ) const
virtual

Reimplemented from FacetModeler::Surface.

Member Data Documentation

◆ m_approximation

OdUInt32 FacetModeler::Cylinder::m_approximation
protected

Definition at line 130 of file FMMdlSurface.h.

◆ m_approximation2

OdUInt32 FacetModeler::Cylinder::m_approximation2
protected

Definition at line 131 of file FMMdlSurface.h.

◆ m_radius

double FacetModeler::Cylinder::m_radius
protected

Definition at line 129 of file FMMdlSurface.h.


The documentation for this class was generated from the following file: