|
virtual | ~GmTriSurfaceDiscontinuity () |
| Destructor.
|
|
virtual int | numSegments () const |
| A generic interface to return the number of discontinuity "segments", where a segment depends on the geometric representation type. For 2d meshes it will be either the number of polyline segments or the number of edges. For 3d meshes, the number of triangles or the number of faces.
|
|
virtual int | numIntersections () const |
| A generic interface to return the number of intersections between the mesh and the user given geometry. Is the number of line segments or faces (triangles an/or quads) in the intersection set.
|
|
int | numPoints () const |
| Returns the number of surface points.
|
|
const double * | pointCoordinates () const |
| Returns the surface coordinates vector, organized as x1, y1, z1, x2, y2, z2, .... Size equal to numPoints() * 3.
|
|
int | numTriangles () const |
| Returns the number of surface triangles.
|
|
const int * | triangleIncidences () const |
| Returns the incidence vector, organized as p11, p12, p13, p21, p22, p23, .... Size equal to numTriangles() * 3.
|
|
virtual void | clearGeometry () |
| Clears the original discontinuity geometry information, releasing memory.
|
|
virtual void | printGeometry (const GmLogCategory &logger, GmLogLevel level) const |
| Prints the discontinuity geometry information.
|
|
virtual size_t | usedGeometryMemory () const |
| Returns an estimative of the memory used by the discontinuity geometry in bytes. More...
|
|
virtual size_t | usedIntersectionMemory () const |
| Returns an estimative of the memory used by the intersection data in bytes.
|
|
virtual bool | findIntersections (const GmLogCategory &logger) |
| Builds the element intersection list for this discontinuity.
|
|
virtual void | printIntersections (const GmLogCategory &logger, GmLogLevel level) const |
| Prints the discontinuity-mesh intersection information.
|
|
virtual | ~GmDiscontinuity () |
| Virtuald destructor.
|
|
int | index () const |
| Returns this discontinuity index in the father set.
|
|
QString | id () const |
| Returns the discontinuity id (name)
|
|
int | cellGroupIndex () const |
| Returns the cell group index associated with this discontinuity, if any. This is the index of the group in the list returned by GmCellMesh::cellGroupIds() Returns -1 for an unspecified cell group.
|
|
virtual int | propertyIndex (int propertySet) const |
| Given a property set number, returns the line of the property set that contains property values for this discontinuity. The returned value can be used to get a property from a property accessor retrieved from the discontinuity set. More...
|
|
|
| GmTriSurfaceDiscontinuity (const GmDiscontinuitySet *ds, int index, QString id, int groupIndex, const QVector< int > &psIndex) |
| Constructor.
|
|
virtual void | setGeometry (double *dvec, int nd, int *ivec, int ni) |
| Sets the geometry. dvec should be a vector with coordinates (size nd * 3), nd the number of coordinates. ivec should be the triangle incidence list (size ni * 3), ni the number of triangles.
|
|
int | markAmbiguousEdges () |
|
bool | reorderIntersections (CellIntersection &ci, const GmCellGeometryInfo *info) |
| For each cellIntersection[i] reorder its edges indexes to form a polygon with the intersection points. Return true if reorder was successful.
|
|
QVector< EdgeId > | popEdgesOnFace (QVector< EdgeId > &edges, QVector< bool > &FELine) |
|
BoolMat | buildEEMatrix (QVector< QVector< int >> faceEdge, int nedges) |
|
BoolMat | buildFEMatrix (QVector< QVector< int >> edgeFace, int nface) |
|
const BoolMat | getOrBuildEEMatrix (const GmCellGeometryInfo *info) |
|
const BoolMat | getOrBuildFEMatrix (const GmCellGeometryInfo *info) |
|
bool | checkConsistency () |
|
void | DebugCell (size_t cellId, GmMatrix &points, CellIntersection &ci) |
|
Surface 3D representation for a discontinuity.
virtual size_t GmTriSurfaceDiscontinuity::usedGeometryMemory |
( |
| ) |
const |
|
inlinevirtual |
Returns an estimative of the memory used by the discontinuity geometry in bytes.
It returns in general the variable memory that depends on the number of lines in a polyline, edges or faces for boundary lists or points & triangles for surfaces, ignoring "constant" sizes.
Implements GmDiscontinuity.