@@ -232,6 +232,8 @@ Returns the Cartesian 2D distance between this point and another point. In certa
232
232
cases it may be more appropriate to call the faster :py:func:`~QgsPoint.distanceSquared` method, e.g.,
233
233
when comparing distances.
234
234
235
+ .. seealso:: :py:func:`distanceSquared`
236
+
235
237
.. versionadded:: 3.0
236
238
%End
237
239
@@ -260,41 +262,43 @@ distances where the extra expense of calling :py:func:`~QgsPoint.distance` is no
260
262
double distance3D( double x, double y, double z ) const /HoldGIL/;
261
263
%Docstring
262
264
Returns the Cartesian 3D distance between this point and a specified x, y, z coordinate. In certain
263
- cases it may be more appropriate to call the faster :py:func:`~QgsPoint.distanceSquared ` method, e.g.,
265
+ cases it may be more appropriate to call the faster :py:func:`~QgsPoint.distanceSquared3D ` method, e.g.,
264
266
when comparing distances.
265
267
266
- .. seealso:: :py:func:`distanceSquared `
268
+ .. seealso:: :py:func:`distanceSquared3D `
267
269
268
270
.. versionadded:: 3.0
269
271
%End
270
272
271
273
double distance3D( const QgsPoint &other ) const /HoldGIL/;
272
274
%Docstring
273
275
Returns the Cartesian 3D distance between this point and another point. In certain
274
- cases it may be more appropriate to call the faster :py:func:`~QgsPoint.distanceSquared ` method, e.g.,
276
+ cases it may be more appropriate to call the faster :py:func:`~QgsPoint.distanceSquared3D ` method, e.g.,
275
277
when comparing distances.
276
278
279
+ .. seealso:: :py:func:`distanceSquared3D`
280
+
277
281
.. versionadded:: 3.0
278
282
%End
279
283
280
284
double distanceSquared3D( double x, double y, double z ) const /HoldGIL/;
281
285
%Docstring
282
286
Returns the Cartesian 3D squared distance between this point and a specified x, y, z coordinate. Calling
283
- this is faster than calling :py:func:`~QgsPoint.distance `, and may be useful in use cases such as comparing
284
- distances where the extra expense of calling :py:func:`~QgsPoint.distance ` is not required.
287
+ this is faster than calling :py:func:`~QgsPoint.distance3D `, and may be useful in use cases such as comparing
288
+ distances where the extra expense of calling :py:func:`~QgsPoint.distance3D ` is not required.
285
289
286
- .. seealso:: :py:func:`distance `
290
+ .. seealso:: :py:func:`distance3D `
287
291
288
292
.. versionadded:: 3.0
289
293
%End
290
294
291
295
double distanceSquared3D( const QgsPoint &other ) const /HoldGIL/;
292
296
%Docstring
293
297
Returns the Cartesian 3D squared distance between this point and another point. Calling
294
- this is faster than calling :py:func:`~QgsPoint.distance `, and may be useful in use cases such as comparing
295
- distances where the extra expense of calling :py:func:`~QgsPoint.distance ` is not required.
298
+ this is faster than calling :py:func:`~QgsPoint.distance3D `, and may be useful in use cases such as comparing
299
+ distances where the extra expense of calling :py:func:`~QgsPoint.distance3D ` is not required.
296
300
297
- .. seealso:: :py:func:`distance `
301
+ .. seealso:: :py:func:`distance3D `
298
302
299
303
.. versionadded:: 3.0
300
304
%End
0 commit comments