CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
AECGe::MeshFace Class Reference

DOM. More...

#include <AECMeshFace.h>

Public Member Functions

 MeshFace ()
 
 MeshFace (const IndexList &ilList, OdGiVisibility eVisibility=kOdGiVisible)
 
const OdGePlaneGetPlane () const
 
bool UpdatePlane (const Mesh &mOwner)
 
void Invert ()
 
double GetArea (const Mesh &mOwner) const
 
bool IsVisible () const
 
void SetVisible (bool bVisible)
 
OdUInt32 GetSize () const
 
void SetSize (OdUInt32 iSize)
 
OdUInt32 GetAt (OdUInt32 iIndex) const
 
void SetAt (OdUInt32 iIndex, OdUInt32 iVertex)
 
OdGiVisibility GetVisibilityAt (OdUInt32 iIndex) const
 
void SetVisibilityAt (OdUInt32 iIndex, OdGiVisibility eVisibility)
 
void Add (OdUInt32 iVertex, OdGiVisibility eVisibility=kOdGiVisible)
 
void Add (const IndexList &ilVertices, OdGiVisibility eVisibility=kOdGiVisible)
 
void Insert (OdUInt32 iPosition, OdUInt32 iVertex, OdGiVisibility eVisibility=kOdGiVisible)
 
void Clear ()
 

Protected Attributes

OdInt32 Tag
 DOM.
 

Friends

class Mesh
 
class SubMesh
 
class Simplificator
 

Detailed Description

DOM.

Definition at line 73 of file AECMeshFace.h.

Constructor & Destructor Documentation

◆ MeshFace() [1/2]

AECGe::MeshFace::MeshFace ( )

Constructor.

◆ MeshFace() [2/2]

AECGe::MeshFace::MeshFace ( const IndexList ilList,
OdGiVisibility  eVisibility = kOdGiVisible 
)

Constructor.

Member Function Documentation

◆ Add() [1/2]

void AECGe::MeshFace::Add ( const IndexList ilVertices,
OdGiVisibility  eVisibility = kOdGiVisible 
)

Appends vertex to face.

◆ Add() [2/2]

void AECGe::MeshFace::Add ( OdUInt32  iVertex,
OdGiVisibility  eVisibility = kOdGiVisible 
)

Appends vertex to face.

◆ Clear()

void AECGe::MeshFace::Clear ( )

Clears edge list.

◆ GetArea()

double AECGe::MeshFace::GetArea ( const Mesh mOwner) const

Returns the area of the face.

◆ GetAt()

OdUInt32 AECGe::MeshFace::GetAt ( OdUInt32  iIndex) const

Returns edge starting vertex at position.

◆ GetPlane()

const OdGePlane & AECGe::MeshFace::GetPlane ( ) const

Returns face`s plane.

◆ GetSize()

OdUInt32 AECGe::MeshFace::GetSize ( ) const

Returns the number of edges in face.

◆ GetVisibilityAt()

OdGiVisibility AECGe::MeshFace::GetVisibilityAt ( OdUInt32  iIndex) const

Returns edge visibility at position.

◆ Insert()

void AECGe::MeshFace::Insert ( OdUInt32  iPosition,
OdUInt32  iVertex,
OdGiVisibility  eVisibility = kOdGiVisible 
)

Inserts vertex to face.

◆ Invert()

void AECGe::MeshFace::Invert ( )

Inverts face direction and normal.

◆ IsVisible()

bool AECGe::MeshFace::IsVisible ( ) const

Returns whether this face is visible.

◆ SetAt()

void AECGe::MeshFace::SetAt ( OdUInt32  iIndex,
OdUInt32  iVertex 
)

Sets edge starting vertex at position.

◆ SetSize()

void AECGe::MeshFace::SetSize ( OdUInt32  iSize)

Sets the number of edges in face.

◆ SetVisibilityAt()

void AECGe::MeshFace::SetVisibilityAt ( OdUInt32  iIndex,
OdGiVisibility  eVisibility 
)

Sets edge visibility at position.

◆ SetVisible()

void AECGe::MeshFace::SetVisible ( bool  bVisible)

Sets whether this face is visible.

◆ UpdatePlane()

bool AECGe::MeshFace::UpdatePlane ( const Mesh mOwner)

Updates face`s plane.

Returns
True indicates success.

Friends And Related Function Documentation

◆ Mesh

friend class Mesh
friend

Definition at line 193 of file AECMeshFace.h.

◆ Simplificator

friend class Simplificator
friend

Definition at line 195 of file AECMeshFace.h.

◆ SubMesh

friend class SubMesh
friend

Definition at line 194 of file AECMeshFace.h.

Member Data Documentation

◆ Tag

OdInt32 AECGe::MeshFace::Tag
protected

DOM.

DOM

Definition at line 181 of file AECMeshFace.h.


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