CFx SDK Documentation 2024 SP0
|
DOM. More...
#include <AECMeshFace.h>
Public Member Functions | |
MeshFace () | |
MeshFace (const IndexList &ilList, OdGiVisibility eVisibility=kOdGiVisible) | |
const OdGePlane & | GetPlane () 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 |
DOM.
Definition at line 73 of file AECMeshFace.h.
AECGe::MeshFace::MeshFace | ( | ) |
Constructor.
AECGe::MeshFace::MeshFace | ( | const IndexList & | ilList, |
OdGiVisibility | eVisibility = kOdGiVisible |
||
) |
Constructor.
void AECGe::MeshFace::Add | ( | const IndexList & | ilVertices, |
OdGiVisibility | eVisibility = kOdGiVisible |
||
) |
Appends vertex to face.
void AECGe::MeshFace::Add | ( | OdUInt32 | iVertex, |
OdGiVisibility | eVisibility = kOdGiVisible |
||
) |
Appends vertex to face.
void AECGe::MeshFace::Clear | ( | ) |
Clears edge list.
double AECGe::MeshFace::GetArea | ( | const Mesh & | mOwner | ) | const |
Returns the area of the face.
const OdGePlane & AECGe::MeshFace::GetPlane | ( | ) | const |
Returns face`s plane.
OdUInt32 AECGe::MeshFace::GetSize | ( | ) | const |
Returns the number of edges in face.
OdGiVisibility AECGe::MeshFace::GetVisibilityAt | ( | OdUInt32 | iIndex | ) | const |
Returns edge visibility at position.
void AECGe::MeshFace::Insert | ( | OdUInt32 | iPosition, |
OdUInt32 | iVertex, | ||
OdGiVisibility | eVisibility = kOdGiVisible |
||
) |
Inserts vertex to face.
void AECGe::MeshFace::Invert | ( | ) |
Inverts face direction and normal.
bool AECGe::MeshFace::IsVisible | ( | ) | const |
Returns whether this face is visible.
Sets edge starting vertex at position.
void AECGe::MeshFace::SetVisibilityAt | ( | OdUInt32 | iIndex, |
OdGiVisibility | eVisibility | ||
) |
Sets edge visibility at position.
void AECGe::MeshFace::SetVisible | ( | bool | bVisible | ) |
Sets whether this face is visible.
bool AECGe::MeshFace::UpdatePlane | ( | const Mesh & | mOwner | ) |
Updates face`s plane.
|
friend |
Definition at line 193 of file AECMeshFace.h.
|
friend |
Definition at line 195 of file AECMeshFace.h.
|
friend |
Definition at line 194 of file AECMeshFace.h.
|
protected |