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


Member Function Documentation

const BRepMesh_Vertex& BRepMesh_DataStructureOfDelaun::operator() ( const Standard_Integer  Index) [inline]

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