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

#include <FMMdlSurface.h>

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

Public Member Functions

 Cone (const OdGeLine3d &axis, const OdGeVector3d &startDir, double radius1, double radius2, OdUInt32 approx)
 
Type type () const
 
double radius () const
 
double topRadius () const
 
double tanAngle () 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 e) const
 
Surfacecopy (Body &to) const
 
- Public Member Functions inherited from FacetModeler::Revolution
 Revolution (const OdGeLine3d &axis, const OdGeVector3d &startDir)
 
const OdGeLine3daxis () const
 
const OdGeVector3dstartDir () const
 
- Public Member Functions inherited from FacetModeler::Surface
 Surface ()
 
bool isEqivalent (const Surface *pTo, const OdGeTol &tol) const
 
Surfacenext () const
 
 ~Surface ()
 
- Public Member Functions inherited from FacetModeler::Entity
 Entity ()
 
 Entity (const Entity &ent)
 
Entityoperator= (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
 
double m_tanAngle
 
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
Surfacem_pNext
 
- Protected Member Functions inherited from FacetModeler::Surface
int surface_compare (const Surface *pOther, double eps) const
 
virtual Surfaceclone (Body &to) const
 
virtual bool _isEqivalent (const Surface &to, const OdGeTol &tol) const
 

Detailed Description

Definition at line 134 of file FMMdlSurface.h.

Constructor & Destructor Documentation

◆ Cone()

FacetModeler::Cone::Cone ( const OdGeLine3d axis,
const OdGeVector3d startDir,
double  radius1,
double  radius2,
OdUInt32  approx 
)

Member Function Documentation

◆ approximation()

OdUInt32 FacetModeler::Cone::approximation ( ) const

◆ compare()

int FacetModeler::Cone::compare ( const Surface pOther,
double  e 
) const
virtual

Reimplemented from FacetModeler::Revolution.

◆ copy()

Surface* FacetModeler::Cone::copy ( Body to) const
virtual

Reimplemented from FacetModeler::Surface.

◆ normal()

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

Reimplemented from FacetModeler::Surface.

◆ radius()

double FacetModeler::Cone::radius ( ) const

◆ tanAngle()

double FacetModeler::Cone::tanAngle ( ) const

◆ topRadius()

double FacetModeler::Cone::topRadius ( ) const

◆ transform()

void FacetModeler::Cone::transform ( const OdGeMatrix3d x)
virtual

Reimplemented from FacetModeler::Revolution.

◆ type()

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

Reimplemented from FacetModeler::Surface.

Member Data Documentation

◆ m_approximation

OdUInt32 FacetModeler::Cone::m_approximation
protected

Definition at line 151 of file FMMdlSurface.h.

◆ m_approximation2

OdUInt32 FacetModeler::Cone::m_approximation2
protected

Definition at line 152 of file FMMdlSurface.h.

◆ m_radius

double FacetModeler::Cone::m_radius
protected

Definition at line 149 of file FMMdlSurface.h.

◆ m_tanAngle

double FacetModeler::Cone::m_tanAngle
protected

Definition at line 150 of file FMMdlSurface.h.


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