CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
FacetModeler::Surface Class Reference

#include <FMMdlSurface.h>

Inheritance diagram for FacetModeler::Surface:
FacetModeler::Entity FacetModeler::Revolution FacetModeler::Cone FacetModeler::Cylinder FacetModeler::Sphere FacetModeler::Torus

Public Types

enum  Type {
  kUndefined = 0 , kCylinder = 1 , kCone = 2 , kSphere = 3 ,
  kTorus = 4
}
 

Public Member Functions

 Surface ()
 
virtual Type type () const
 
virtual void normal (const FacetModeler::Vertex &atV, const Face &atF, OdGeVector3d &normal) const
 
virtual void transform (const OdGeMatrix3d &x)
 
virtual int compare (const Surface *pOther, double eps) const
 
virtual Surfacecopy (Body &to) const
 
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)
 

Public Attributes

Surfacem_pNext
 

Protected Member Functions

int surface_compare (const Surface *pOther, double eps) const
 
virtual Surfaceclone (Body &to) const
 
virtual bool _isEqivalent (const Surface &to, const OdGeTol &tol) const
 

Friends

class Body
 
class BodyImpl
 

Detailed Description

Facet body surface.

Definition at line 39 of file FMMdlSurface.h.

Member Enumeration Documentation

◆ Type

Enumerator
kUndefined 
kCylinder 
kCone 
kSphere 
kTorus 

Definition at line 47 of file FMMdlSurface.h.

Constructor & Destructor Documentation

◆ Surface()

FacetModeler::Surface::Surface ( )

Constructor.

◆ ~Surface()

FacetModeler::Surface::~Surface ( )

Member Function Documentation

◆ _isEqivalent()

virtual bool FacetModeler::Surface::_isEqivalent ( const Surface to,
const OdGeTol tol 
) const
protectedvirtual

◆ clone()

virtual Surface* FacetModeler::Surface::clone ( Body to) const
protectedvirtual

◆ compare()

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

◆ copy()

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

◆ isEqivalent()

bool FacetModeler::Surface::isEqivalent ( const Surface pTo,
const OdGeTol tol 
) const

◆ next()

Surface* FacetModeler::Surface::next ( ) const

Returns next surface in body.

◆ normal()

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

◆ surface_compare()

int FacetModeler::Surface::surface_compare ( const Surface pOther,
double  eps 
) const
protected

◆ transform()

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

◆ type()

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

Friends And Related Function Documentation

◆ Body

friend class Body
friend

Definition at line 79 of file FMMdlSurface.h.

◆ BodyImpl

friend class BodyImpl
friend

Definition at line 80 of file FMMdlSurface.h.

Member Data Documentation

◆ m_pNext

Surface* FacetModeler::Surface::m_pNext

Definition at line 77 of file FMMdlSurface.h.


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