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

#include <FMMdlSurface.h>

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

Public Member Functions

 Sphere (const OdGePoint3d &center, double radius, OdUInt32 approximation)
 
Type type () const
 
const OdGePoint3dcenter () 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
 
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

OdGePoint3d m_center
 
double m_radius
 
OdUInt32 m_approximation1
 
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 96 of file FMMdlSurface.h.

Constructor & Destructor Documentation

◆ Sphere()

FacetModeler::Sphere::Sphere ( const OdGePoint3d center,
double  radius,
OdUInt32  approximation 
)

Member Function Documentation

◆ approximation()

OdUInt32 FacetModeler::Sphere::approximation ( ) const

◆ center()

const OdGePoint3d& FacetModeler::Sphere::center ( ) const

◆ compare()

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

Reimplemented from FacetModeler::Revolution.

◆ copy()

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

Reimplemented from FacetModeler::Surface.

◆ normal()

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

Reimplemented from FacetModeler::Surface.

◆ radius()

double FacetModeler::Sphere::radius ( ) const

◆ transform()

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

Reimplemented from FacetModeler::Revolution.

◆ type()

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

Reimplemented from FacetModeler::Surface.

Member Data Documentation

◆ m_approximation1

OdUInt32 FacetModeler::Sphere::m_approximation1
protected

Definition at line 112 of file FMMdlSurface.h.

◆ m_approximation2

OdUInt32 FacetModeler::Sphere::m_approximation2
protected

Definition at line 113 of file FMMdlSurface.h.

◆ m_center

OdGePoint3d FacetModeler::Sphere::m_center
protected

Definition at line 110 of file FMMdlSurface.h.

◆ m_radius

double FacetModeler::Sphere::m_radius
protected

Definition at line 111 of file FMMdlSurface.h.


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