Open CASCADE Technology 6.6.0
Public Member Functions
BRepMesh_VertexTool Class Reference

Describes the data structure necessary for the
mesh algorithm and contains the vertices in UV space.

#include <BRepMesh_VertexTool.hxx>

Public Member Functions

 BRepMesh_VertexTool (const BRepMesh_BaseAllocator &theAlloc)
 BRepMesh_VertexTool (const Standard_Integer nbComp, const BRepMesh_BaseAllocator &theAlloc)
 Constructs a VertexTool with an evaluation of the
number of vertices.

void SetCellSize (const Standard_Real theSize)
 Sets new size for cellfilter.

void SetCellSize (const Standard_Real theXSize, const Standard_Real theYSize)
 Sets new size for cellfilter.

void SetTolerance (const Standard_Real theTol)
 Sets new size for cellfilter.

void SetTolerance (const Standard_Real theTolX, const Standard_Real theTolY)
 Sets new size for cellfilter.

Standard_Integer Add (const BRepMesh_Vertex &theVertex, const BRepMesh_ListOfInteger &theParams)
 Adds a vertex to the tool.

Standard_Integer Add (const BRepMesh_Vertex &theVertex)
 Adds a vertex to the tool.

void Delete (const Standard_Integer theIndex)
 Deletes a vertex from the tool.

BRepMesh_ListOfIntegerFindFromIndex (const Standard_Integer theIndex) const
 Returns data assigned to theIndex.

BRepMesh_ListOfIntegeroperator() (const Standard_Integer theIndex) const
const BRepMesh_VertexFindKey (const Standard_Integer theIndex)
 Selects the vertex by theIndex.

Standard_Integer FindIndex (const BRepMesh_Vertex &theVertex)
 Returns an index of theVertex.

Standard_Integer Extent () const
 Returns a number of vertices.

Standard_Boolean IsEmpty () const
 Returns True when the map contains no keys.

void Substitute (const Standard_Integer Index, const BRepMesh_Vertex &theVertex, const BRepMesh_ListOfInteger &theData)
 Substitutes vertex with Index on
theVertex with attributes theData.

void RemoveLast ()
 Remove last node from the structure.

const BRepMesh_ListOfIntegerGetListOfDelNodes () const
 Returns the list with indexes of
vertices that have Movability attribute
equal to BRepMesh_Deleted and can be
replaced with another node.

void Statistics (Standard_OStream &S) const
 Prints statistics.


Constructor & Destructor Documentation

BRepMesh_VertexTool::BRepMesh_VertexTool ( const BRepMesh_BaseAllocator theAlloc)
BRepMesh_VertexTool::BRepMesh_VertexTool ( const Standard_Integer  nbComp,
const BRepMesh_BaseAllocator theAlloc 
)

Member Function Documentation

Standard_Integer BRepMesh_VertexTool::Add ( const BRepMesh_Vertex theVertex,
const BRepMesh_ListOfInteger theParams 
)
Standard_Integer BRepMesh_VertexTool::Add ( const BRepMesh_Vertex theVertex)
void BRepMesh_VertexTool::Delete ( const Standard_Integer  theIndex)
Standard_Integer BRepMesh_VertexTool::Extent ( ) const
BRepMesh_ListOfInteger& BRepMesh_VertexTool::FindFromIndex ( const Standard_Integer  theIndex) const
Standard_Integer BRepMesh_VertexTool::FindIndex ( const BRepMesh_Vertex theVertex)
const BRepMesh_Vertex& BRepMesh_VertexTool::FindKey ( const Standard_Integer  theIndex)
const BRepMesh_ListOfInteger& BRepMesh_VertexTool::GetListOfDelNodes ( ) const
Standard_Boolean BRepMesh_VertexTool::IsEmpty ( ) const
BRepMesh_ListOfInteger& BRepMesh_VertexTool::operator() ( const Standard_Integer  theIndex) const [inline]
void BRepMesh_VertexTool::RemoveLast ( )
void BRepMesh_VertexTool::SetCellSize ( const Standard_Real  theSize)
void BRepMesh_VertexTool::SetCellSize ( const Standard_Real  theXSize,
const Standard_Real  theYSize 
)
void BRepMesh_VertexTool::SetTolerance ( const Standard_Real  theTolX,
const Standard_Real  theTolY 
)
void BRepMesh_VertexTool::SetTolerance ( const Standard_Real  theTol)
void BRepMesh_VertexTool::Statistics ( Standard_OStream S) const
void BRepMesh_VertexTool::Substitute ( const Standard_Integer  Index,
const BRepMesh_Vertex theVertex,
const BRepMesh_ListOfInteger theData 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines