Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

DEFINE_STANDARD_ALLOC 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


Member Function Documentation

BRepMesh_ListOfInteger& BRepMesh_VertexTool::operator() ( const Standard_Integer  theIndex) const [inline]

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