QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_MeshTopology Class Reference

#include <opennurbs_mesh.h>

Classes

struct  memchunk
 

Public Member Functions

void Dump (ON_TextLog &) const
 
ON_MeshEdgeRef EdgeRef (int tope_index) const
 
ON_MeshEdgeRef EdgeRef (ON_COMPONENT_INDEX ci) const
 
ON_MeshFaceRef FaceRef (int topf_index) const
 
ON_MeshFaceRef FaceRef (ON_COMPONENT_INDEX ci) const
 
int * GetIntArray (int count)
 
bool GetTopFaceVertices (int, int[4]) const
 
bool IsValid () const
 
 ON_MeshTopology ()
 
bool SortVertexEdges () const
 
bool SortVertexEdges (int topvi) const
 
int TopEdge (int, int) const
 
int TopEdgeCount () const
 
bool TopEdgeIsHidden (int topei) const
 
ON_Line TopEdgeLine (int tope_index) const
 
int TopFaceCount () const
 
bool TopFaceIsHidden (int topfi) const
 
int TopVertexCount () const
 
bool TopVertexIsHidden (int topvi) const
 
ON_3fPoint TopVertexPoint (int topv_index) const
 
ON_MeshVertexRef VertexRef (int topv_index) const
 
ON_MeshVertexRef VertexRef (ON_COMPONENT_INDEX ci) const
 
 ~ON_MeshTopology ()
 

Public Attributes

const ON_Meshm_mesh
 
ON_SimpleArray< ON_MeshTopologyEdgem_tope
 
ON_SimpleArray< ON_MeshTopologyFacem_topf
 
ON_SimpleArray< ON_MeshTopologyVertexm_topv
 
ON_SimpleArray< int > m_topv_map
 

Private Member Functions

bool Create ()
 
void Destroy ()
 
void EmergencyDestroy ()
 
 ON_MeshTopology (const ON_MeshTopology &)
 
ON_MeshTopologyoperator= (const ON_MeshTopology &)
 

Private Attributes

bool m_bIsValid
 
struct ON_MeshTopology::memchunkm_memchunk
 

Friends

class ON_Mesh
 

Constructor & Destructor Documentation

◆ ON_MeshTopology() [1/2]

ON_MeshTopology::ON_MeshTopology ( )

◆ ~ON_MeshTopology()

ON_MeshTopology::~ON_MeshTopology ( )

◆ ON_MeshTopology() [2/2]

ON_MeshTopology::ON_MeshTopology ( const ON_MeshTopology & )
private

Member Function Documentation

◆ Create()

bool ON_MeshTopology::Create ( )
private

◆ Destroy()

void ON_MeshTopology::Destroy ( )
private

◆ Dump()

void ON_MeshTopology::Dump ( ON_TextLog & dump) const

◆ EdgeRef() [1/2]

ON_MeshEdgeRef ON_MeshTopology::EdgeRef ( int tope_index) const

◆ EdgeRef() [2/2]

ON_MeshEdgeRef ON_MeshTopology::EdgeRef ( ON_COMPONENT_INDEX ci) const

◆ EmergencyDestroy()

void ON_MeshTopology::EmergencyDestroy ( )
private

◆ FaceRef() [1/2]

ON_MeshFaceRef ON_MeshTopology::FaceRef ( int topf_index) const

◆ FaceRef() [2/2]

ON_MeshFaceRef ON_MeshTopology::FaceRef ( ON_COMPONENT_INDEX ci) const

◆ GetIntArray()

int * ON_MeshTopology::GetIntArray ( int count)

◆ GetTopFaceVertices()

bool ON_MeshTopology::GetTopFaceVertices ( int fi,
int topvi[4] ) const

◆ IsValid()

bool ON_MeshTopology::IsValid ( ) const

◆ operator=()

ON_MeshTopology & ON_MeshTopology::operator= ( const ON_MeshTopology & )
private

◆ SortVertexEdges() [1/2]

bool ON_MeshTopology::SortVertexEdges ( ) const

◆ SortVertexEdges() [2/2]

bool ON_MeshTopology::SortVertexEdges ( int topvi) const

◆ TopEdge()

int ON_MeshTopology::TopEdge ( int vtopi0,
int vtopi1 ) const

◆ TopEdgeCount()

int ON_MeshTopology::TopEdgeCount ( ) const

◆ TopEdgeIsHidden()

bool ON_MeshTopology::TopEdgeIsHidden ( int topei) const

◆ TopEdgeLine()

ON_Line ON_MeshTopology::TopEdgeLine ( int tope_index) const

◆ TopFaceCount()

int ON_MeshTopology::TopFaceCount ( ) const

◆ TopFaceIsHidden()

bool ON_MeshTopology::TopFaceIsHidden ( int topfi) const

◆ TopVertexCount()

int ON_MeshTopology::TopVertexCount ( ) const

◆ TopVertexIsHidden()

bool ON_MeshTopology::TopVertexIsHidden ( int topvi) const

◆ TopVertexPoint()

ON_3fPoint ON_MeshTopology::TopVertexPoint ( int topv_index) const

◆ VertexRef() [1/2]

ON_MeshVertexRef ON_MeshTopology::VertexRef ( int topv_index) const

◆ VertexRef() [2/2]

ON_MeshVertexRef ON_MeshTopology::VertexRef ( ON_COMPONENT_INDEX ci) const

Friends And Related Symbol Documentation

◆ ON_Mesh

friend class ON_Mesh
friend

Member Data Documentation

◆ m_bIsValid

bool ON_MeshTopology::m_bIsValid
private

◆ m_memchunk

struct ON_MeshTopology::memchunk * ON_MeshTopology::m_memchunk
private

◆ m_mesh

const ON_Mesh* ON_MeshTopology::m_mesh

◆ m_tope

ON_SimpleArray<ON_MeshTopologyEdge> ON_MeshTopology::m_tope

◆ m_topf

ON_SimpleArray<ON_MeshTopologyFace> ON_MeshTopology::m_topf

◆ m_topv

ON_SimpleArray<ON_MeshTopologyVertex> ON_MeshTopology::m_topv

◆ m_topv_map

ON_SimpleArray<int> ON_MeshTopology::m_topv_map

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