-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,12 @@ class QgsGeometryUtils | |
:rtype: QgsPoint | ||
%End | ||
|
||
static double closestPointMeasure( const QgsAbstractGeometry &geom, const QgsPoint &pt ); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
blazek
Author
Member
|
||
%Docstring | ||
Returns measure of nearest point on a geometry for a specified point or NaN if geometry does not have measures | ||
:rtype: float | ||
%End | ||
|
||
static double distanceToVertex( const QgsAbstractGeometry &geom, QgsVertexId id ); | ||
%Docstring | ||
Returns the distance along a geometry from its first vertex to the specified vertex. | ||
|
I guess it would make a lot of sense to create its sibling for Z, no?