54 return Pos->getData();
59static RefPtr<Representation> getFacesPerEdge(
const RefPtr<Grid>&G,
bool CreateIfNotFound);
61static RefPtr<TriangularSurfaceWithEdges::EdgesArray_t> getTrianglesPerEdgeArray(
const RefPtr<Grid>&G,
bool CreateIfNotFound) ;
63static RefPtr<MemArray<1,Edges::TriangleCell_t> > getTrianglesPerTriangleArray(
const RefPtr<Grid>&G,
bool CreateIfNotFound);
65static RefPtr<Representation> getTrianglesPerEdge(
const RefPtr<Grid>&G,
bool CreateIfNotFound)
67 return getFacesPerEdge(G, CreateIfNotFound);
70static RefPtr<Edges::EdgesPerVertexMemArray_t> getTrianglesPerVertexArray(
const RefPtr<Grid>&G,
bool CreateIfNotFound);
74static bool addTrianglesPerEdgeArray(
const RefPtr<Grid>&G,
const RefPtr<EdgesArray_t>&
Data);
76static bool addTrianglesPerTriangleArray (
const RefPtr<Grid>&G, RefPtr<TriangularSurfaceWithEdges::CellArray_t>&
Data);
78static bool addEdgesPerFaceArray(
const RefPtr<Grid>&G,
const RefPtr<EdgesPerFaceArray_t>&
Data);
80static bool addTrianglesPerVertexArray(
const RefPtr<Grid>&G,
const RefPtr<Edges::EdgesPerVertexMemArray_t>&
Data);
86static TriangularSurfaceWithEdges create(
const TriangularSurface&T);
92static RefPtr<Edges::EdgesPerVertexMemArray_t >
93 createEdgesPerVertex(
const TriangularSurfaceWithEdges&T,
bool storeThem);
95static RefPtr<Edges::EdgesPerVertexMemArray_t >
96 createEdgesPerVertex(
const TriangularSurface&T,
bool storeThem);
102static RefPtr<TriangularSurfaceWithEdges::EdgesArray_t>
103 createTrianglesPerEdge(
const TriangularSurfaceWithEdges&T,
bool storeThem);
105static RefPtr<TriangularSurfaceWithEdges::EdgesArray_t>
106 createTrianglesPerEdge(
const TriangularSurface&T,
bool storeThem);
114static RefPtr<MemArray<1,Edges::TriangleCell_t> >
115 createTrianglesPerTriangle(
const TriangularSurfaceWithEdges&T,
bool storeThem);
118static RefPtr<MemArray<1,Edges::TriangleCell_t> >
119 createTrianglesPerTriangle(
const TriangularSurface&T,
bool storeThem);
125static RefPtr<Edges::EdgesPerVertexMemArray_t>
126 createTrianglesPerVertex(
const TriangularSurfaceWithEdges&T,
bool storeThem);
128static RefPtr<Edges::EdgesPerVertexMemArray_t>
129 createTrianglesPerVertex(
const TriangularSurface&T,
134 TriangularSurfaceWithEdges(
const RefPtr<Grid>& =
NullPtr() );
137 ~TriangularSurfaceWithEdges();
A triangular surface stored on a Grid, containing vertices, edges, triangles.
Definition TriangularSurfaceWithEdges.hpp:21
MemArray< 1, EdgeCell_t > EdgesArray_t
The array type to store the faces per edge within a surface, which will be exactly two such faces for...
Definition TriangularSurfaceWithEdges.hpp:36
MemArray< 1, TriangleCell > EdgesPerTriangleArray_t
The array type to store edges per face on a triangular surface, which will be three edge indices for ...
Definition TriangularSurfaceWithEdges.hpp:31
MemArray< 1, TriangleCell > EdgesPerFaceArray_t
The array type to store edges per face on a triangular surface, which will be three edge indices for ...
Definition TriangularSurfaceWithEdges.hpp:26