Open CASCADE Technology 6.6.0
Public Member Functions
BRepMesh_DataStructureOfDelaun Class Reference

Describes the data structure necessary for the
mesh algorithms in two dimensions plane or on
surface by meshing in UV space.

#include <BRepMesh_DataStructureOfDelaun.hxx>

Inheritance diagram for BRepMesh_DataStructureOfDelaun:
Inheritance graph
[legend]

Public Member Functions

 BRepMesh_DataStructureOfDelaun (const BRepMesh_BaseAllocator &theAllocator, const Standard_Integer NodeNumber=100)
 <NodeNumber> is just an evaluation of the
presumed number of nodes in this mesh. The
Mesh data structure will be automatically
redimensioned if necessary.

Standard_Integer AddNode (const BRepMesh_Vertex &theNode)
 Adds a node to the mesh if the node is not
already in the Mesh. Returns the index of the
node in the structure.

const BRepMesh_VertexGetNode (const Standard_Integer Index)
 Get the value of node <Index>.

const BRepMesh_Vertexoperator() (const Standard_Integer Index)
const BRepMesh_ListOfIntegerGetNodeList (const Standard_Integer Index)
 Get the list of node <Index>.

void ForceRemoveNode (const Standard_Integer Index)
 Removes the node of index <index> from the mesh.

void ForceRemoveLink (const Standard_Integer Index)
 Removes the link of index <index> from the mesh.

void ReplaceNodes (const BRepMesh_VertexTool &NewNodes)
 Removes the all nodes and sets new map of
nodes from the mesh.
For internal use only.

void RemoveNode (const Standard_Integer Index)
 Removes the node of index <index> from the mesh.

Standard_Boolean MoveNode (const Standard_Integer Index, const BRepMesh_Vertex &newNode)
 Changes the UV value of node of index <Index> by
<newNode>. Returns false if <newnode> is already in
the structure.

Standard_Integer NbNodes () const
 Gives the number of nodes in this mesh.

Standard_Integer AddLink (const BRepMesh_Edge &theLink)
 Adds a Link to the mesh if the Link is not
already in the structure. Returns the index of
the link in the structure.

const BRepMesh_EdgeGetLink (const Standard_Integer Index)
 Get the value of Link <Index>.

void RemoveLink (const Standard_Integer Index)
 Removes the Link of index <Index> from the
mesh.

Standard_Boolean SubstituteLink (const Standard_Integer Index, const BRepMesh_Edge &newLink)
 Substitutes the Link of index <Index> by
<newLink> clear the connectivity.

Standard_Integer NbLinks () const
 Gives the number of elements in this mesh.

Standard_Integer AddElement (const BRepMesh_Triangle &theElement)
 Adds an element to the mesh if it is not
already in the Mesh. Returns the index of the
element in the structure.

const BRepMesh_TriangleGetElement (const Standard_Integer Index)
 Get the value of Element <Index>.

void RemoveElement (const Standard_Integer Index)
 Removes the element of index <Index> in the mesh.

Standard_Boolean SubstituteElement (const Standard_Integer Index, const BRepMesh_Triangle &newElement)
 Substitutes the element of index <Index> by
<newElement>. The links connectivity is updated.

Standard_Integer NbElements () const
 Gives the number of elements in this mesh.

void ClearDomain ()
 Removes all elements

Standard_Integer IndexOf (const BRepMesh_Vertex &aNode)
 Finds the index of the node. Returns 0 if the
node is not in the mesh.

Standard_Integer IndexOf (const BRepMesh_Edge &aLink) const
 Finds the index of the Link. Returns 0 if the
Link is not in the mesh.

Standard_Integer IndexOf (const BRepMesh_Triangle &anElement) const
 Finds the index of the Element. Returns 0 if
the Element is not in the mesh.

const BRepMesh_ListOfIntegerLinkNeighboursOf (const Standard_Integer theNode) const
 Gives the list of Link's indices handling the
node <theNode>.

const BRepMesh_PairOfIndexElemConnectedTo (const Standard_Integer theLink) const
 Gives the element's indices conected
to <theLink>.

const BRepMesh_MapOfIntegerElemOfDomain () const
 Gives the list of element's indices

const BRepMesh_MapOfIntegerLinkOfDomain () const
 Gives the list of link's indices

void ClearDeleted ()
 This method substitute the deleted items by
the last in Indexed Data Maps to have only
non-deleted elements, links or nodes in the
structure.

void Statistics (Standard_OStream &flot) const
 Give informations on map.

const BRepMesh_BaseAllocatorAllocator () const
BRepMesh_VertexToolData ()
 Give the data structure for cell size and
tolerance initialization.


Constructor & Destructor Documentation

BRepMesh_DataStructureOfDelaun::BRepMesh_DataStructureOfDelaun ( const BRepMesh_BaseAllocator theAllocator,
const Standard_Integer  NodeNumber = 100 
)

Member Function Documentation

Standard_Integer BRepMesh_DataStructureOfDelaun::AddElement ( const BRepMesh_Triangle theElement)
Standard_Integer BRepMesh_DataStructureOfDelaun::AddLink ( const BRepMesh_Edge theLink)
Standard_Integer BRepMesh_DataStructureOfDelaun::AddNode ( const BRepMesh_Vertex theNode)
const BRepMesh_BaseAllocator& BRepMesh_DataStructureOfDelaun::Allocator ( ) const
void BRepMesh_DataStructureOfDelaun::ClearDeleted ( )
void BRepMesh_DataStructureOfDelaun::ClearDomain ( )
BRepMesh_VertexTool& BRepMesh_DataStructureOfDelaun::Data ( )
const BRepMesh_PairOfIndex& BRepMesh_DataStructureOfDelaun::ElemConnectedTo ( const Standard_Integer  theLink) const
const BRepMesh_MapOfInteger& BRepMesh_DataStructureOfDelaun::ElemOfDomain ( ) const
void BRepMesh_DataStructureOfDelaun::ForceRemoveLink ( const Standard_Integer  Index)
void BRepMesh_DataStructureOfDelaun::ForceRemoveNode ( const Standard_Integer  Index)
const BRepMesh_Triangle& BRepMesh_DataStructureOfDelaun::GetElement ( const Standard_Integer  Index)
const BRepMesh_Edge& BRepMesh_DataStructureOfDelaun::GetLink ( const Standard_Integer  Index)
const BRepMesh_Vertex& BRepMesh_DataStructureOfDelaun::GetNode ( const Standard_Integer  Index)
const BRepMesh_ListOfInteger& BRepMesh_DataStructureOfDelaun::GetNodeList ( const Standard_Integer  Index)
Standard_Integer BRepMesh_DataStructureOfDelaun::IndexOf ( const BRepMesh_Edge aLink) const
Standard_Integer BRepMesh_DataStructureOfDelaun::IndexOf ( const BRepMesh_Vertex aNode)
Standard_Integer BRepMesh_DataStructureOfDelaun::IndexOf ( const BRepMesh_Triangle anElement) const
const BRepMesh_ListOfInteger& BRepMesh_DataStructureOfDelaun::LinkNeighboursOf ( const Standard_Integer  theNode) const
const BRepMesh_MapOfInteger& BRepMesh_DataStructureOfDelaun::LinkOfDomain ( ) const
Standard_Boolean BRepMesh_DataStructureOfDelaun::MoveNode ( const Standard_Integer  Index,
const BRepMesh_Vertex newNode 
)
Standard_Integer BRepMesh_DataStructureOfDelaun::NbElements ( ) const
Standard_Integer BRepMesh_DataStructureOfDelaun::NbLinks ( ) const
Standard_Integer BRepMesh_DataStructureOfDelaun::NbNodes ( ) const
const BRepMesh_Vertex& BRepMesh_DataStructureOfDelaun::operator() ( const Standard_Integer  Index) [inline]
void BRepMesh_DataStructureOfDelaun::RemoveElement ( const Standard_Integer  Index)
void BRepMesh_DataStructureOfDelaun::RemoveLink ( const Standard_Integer  Index)
void BRepMesh_DataStructureOfDelaun::RemoveNode ( const Standard_Integer  Index)
void BRepMesh_DataStructureOfDelaun::ReplaceNodes ( const BRepMesh_VertexTool NewNodes)
void BRepMesh_DataStructureOfDelaun::Statistics ( Standard_OStream flot) const
Standard_Boolean BRepMesh_DataStructureOfDelaun::SubstituteElement ( const Standard_Integer  Index,
const BRepMesh_Triangle newElement 
)
Standard_Boolean BRepMesh_DataStructureOfDelaun::SubstituteLink ( const Standard_Integer  Index,
const BRepMesh_Edge newLink 
)

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