|
QGIS API Documentation 3.99.0-Master (a8882ad4560)
|
Utility functions for working with NURBS curves. More...
#include <qgsnurbsutils.h>
Static Public Member Functions | |
| static bool | containsNurbsCurve (const QgsAbstractGeometry *geom) |
Returns true if the geom contains a NURBS curve (recursively). | |
| static const QgsNurbsCurve * | extractNurbsCurve (const QgsAbstractGeometry *geom) |
| Extracts the first NURBS curve found in the geom (recursively). | |
| static const QgsNurbsCurve * | findNurbsCurveForVertex (const QgsAbstractGeometry *geom, const QgsVertexId &vid, int &localIndex) |
| Finds the NURBS curve containing the vertex identified by vid. | |
| static QgsNurbsCurve * | findNurbsCurveForVertex (QgsAbstractGeometry *geom, const QgsVertexId &vid, int &localIndex) |
| Finds the NURBS curve containing the vertex identified by vid. | |
Utility functions for working with NURBS curves.
Definition at line 34 of file qgsnurbsutils.h.
|
static |
Returns true if the geom contains a NURBS curve (recursively).
Definition at line 26 of file qgsnurbsutils.cpp.
|
static |
Extracts the first NURBS curve found in the geom (recursively).
Returns nullptr if no NURBS curve is found.
Definition at line 66 of file qgsnurbsutils.cpp.
|
static |
Finds the NURBS curve containing the vertex identified by vid.
| geom | the geometry to search in |
| vid | the vertex identifier to search for |
| localIndex | will be set to the control point index within the found NURBS curve |
nullptr if the vertex is not part of a NURBS curve Definition at line 110 of file qgsnurbsutils.cpp.
|
static |
Finds the NURBS curve containing the vertex identified by vid.
| geom | the geometry to search in |
| vid | the vertex identifier to search for |
| localIndex | will be set to the control point index within the found NURBS curve |
nullptr if the vertex is not part of a NURBS curve Definition at line 171 of file qgsnurbsutils.cpp.