Class: QgsProfileSnapResult

Encapsulates results of snapping a profile point.

Added in version 3.26.

Methods

isValid

Returns True if the result is a valid point.

Attributes

snappedPoint

Snapped point

class qgis.core.QgsProfileSnapResult[source]

Bases: object

isValid(self) bool[source]

Returns True if the result is a valid point.

Return type:

bool

snappedPoint: QgsProfilePoint

Snapped point