Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
BRepMesh_VertexTool Class Reference

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

#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.
More...
 
void SetCellSize (const Standard_Real theSize)
 Sets new size for cellfilter.
More...
 
void SetCellSize (const Standard_Real theXSize, const Standard_Real theYSize)
 Sets new size for cellfilter.
More...
 
void SetTolerance (const Standard_Real theTol)
 Sets new size for cellfilter.
More...
 
void SetTolerance (const Standard_Real theTolX, const Standard_Real theTolY)
 Sets new size for cellfilter.
More...
 
Standard_Integer Add (const BRepMesh_Vertex &theVertex, const BRepMesh_ListOfInteger &theParams)
 Adds a vertex to the tool.
More...
 
Standard_Integer Add (const BRepMesh_Vertex &theVertex)
 Adds a vertex to the tool.
More...
 
void Delete (const Standard_Integer theIndex)
 Deletes a vertex from the tool.
More...
 
BRepMesh_ListOfIntegerFindFromIndex (const Standard_Integer theIndex) const
 Returns data assigned to theIndex.
More...
 
BRepMesh_ListOfIntegeroperator() (const Standard_Integer theIndex) const
 
const BRepMesh_VertexFindKey (const Standard_Integer theIndex)
 Selects the vertex by theIndex.
More...
 
Standard_Integer FindIndex (const BRepMesh_Vertex &theVertex)
 Returns an index of theVertex.
More...
 
Standard_Integer Extent () const
 Returns a number of vertices.
More...
 
Standard_Boolean IsEmpty () const
 Returns True when the map contains no keys.
More...
 
void Substitute (const Standard_Integer Index, const BRepMesh_Vertex &theVertex, const BRepMesh_ListOfInteger &theData)
 Substitutes vertex with Index on
theVertex with attributes theData.
More...
 
void RemoveLast ()
 Remove last node from the structure.
More...
 
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.
More...
 
void Statistics (Standard_OStream &S) const
 Prints statistics.
More...
 

Detailed Description

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

Constructor & Destructor Documentation

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

Constructs a VertexTool with an evaluation of the
number of vertices.

Member Function Documentation

Standard_Integer BRepMesh_VertexTool::Add ( const BRepMesh_Vertex theVertex,
const BRepMesh_ListOfInteger theParams 
)

Adds a vertex to the tool.

Standard_Integer BRepMesh_VertexTool::Add ( const BRepMesh_Vertex theVertex)

Adds a vertex to the tool.

void BRepMesh_VertexTool::Delete ( const Standard_Integer  theIndex)

Deletes a vertex from the tool.

Standard_Integer BRepMesh_VertexTool::Extent ( ) const

Returns a number of vertices.

BRepMesh_ListOfInteger& BRepMesh_VertexTool::FindFromIndex ( const Standard_Integer  theIndex) const

Returns data assigned to theIndex.

Standard_Integer BRepMesh_VertexTool::FindIndex ( const BRepMesh_Vertex theVertex)

Returns an index of theVertex.

const BRepMesh_Vertex& BRepMesh_VertexTool::FindKey ( const Standard_Integer  theIndex)

Selects the vertex by theIndex.

const BRepMesh_ListOfInteger& BRepMesh_VertexTool::GetListOfDelNodes ( ) const

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

Standard_Boolean BRepMesh_VertexTool::IsEmpty ( ) const

Returns True when the map contains no keys.

BRepMesh_ListOfInteger& BRepMesh_VertexTool::operator() ( const Standard_Integer  theIndex) const
inline
void BRepMesh_VertexTool::RemoveLast ( )

Remove last node from the structure.

void BRepMesh_VertexTool::SetCellSize ( const Standard_Real  theSize)

Sets new size for cellfilter.

void BRepMesh_VertexTool::SetCellSize ( const Standard_Real  theXSize,
const Standard_Real  theYSize 
)

Sets new size for cellfilter.

void BRepMesh_VertexTool::SetTolerance ( const Standard_Real  theTol)

Sets new size for cellfilter.

void BRepMesh_VertexTool::SetTolerance ( const Standard_Real  theTolX,
const Standard_Real  theTolY 
)

Sets new size for cellfilter.

void BRepMesh_VertexTool::Statistics ( Standard_OStream S) const

Prints statistics.

void BRepMesh_VertexTool::Substitute ( const Standard_Integer  Index,
const BRepMesh_Vertex theVertex,
const BRepMesh_ListOfInteger theData 
)

Substitutes vertex with Index on
theVertex with attributes theData.


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