|
CORE_EXPORT QgsMeshVertex | QgsMeshUtils::centroid (const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices) |
| Returns the centroid of the face. More...
|
|
bool | QgsMeshUtils::isInTriangleFace (const QgsPointXY point, const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices) |
| Tests if point p is on the face defined with vertices. More...
|
|
CORE_EXPORT QSet< int > | QgsMeshUtils::nativeEdgesFromEdges (const QList< int > &edgesIndexes, const QVector< int > &edgesToNativeEdges) |
| Returns unique native faces indexes from list of triangle indexes. More...
|
|
CORE_EXPORT QSet< int > | QgsMeshUtils::nativeFacesFromTriangles (const QList< int > &triangleIndexes, const QVector< int > &trianglesToNativeFaces) |
| Returns unique native faces indexes from list of triangle indexes. More...
|
|
CORE_EXPORT QSet< int > | QgsMeshUtils::nativeVerticesFromEdges (const QList< int > &edgesIndexes, const QVector< QgsMeshEdge > &edges) |
| Returns unique native faces indexes from list of vertices of triangles. More...
|
|
CORE_EXPORT QSet< int > | QgsMeshUtils::nativeVerticesFromTriangles (const QList< int > &triangleIndexes, const QVector< QgsMeshFace > &triangles) |
| Returns unique native vertex indexes from list of vertices of triangles. More...
|
|
void | QgsMeshUtils::setCounterClockwise (QgsMeshFace &triangle, const QgsMeshVertex &v0, const QgsMeshVertex &v1, const QgsMeshVertex &v2) |
| Checks if the triangle is counter clockwise, if not sets it counter clockwise. More...
|
|
CORE_EXPORT QgsGeometry | QgsMeshUtils::toGeometry (const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices) |
| Returns face as polygon geometry. More...
|
|
CORE_EXPORT std::unique_ptr< QgsPolygon > | QgsMeshUtils::toPolygon (const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices) |
| Returns face as polygon geometry, caller is responsible for delete. More...
|
|