DK11 for Python | tatukgis.pdk.TGIS_Shape.GetSnapPoint | Constructors | Methods | Properties
Retrieving a snap point.
# Python def GetSnapPoint( self, _ptg: TGIS_Point, _prec: float, _dist: VarParameter ) -> TGIS_Point:
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | point for which we are seeking a snap point ; |
_prec | float | snapping precision; only points closer to _ptg then _prec can be found ; |
_dist | float | achieved precision |
Type | Description |
---|---|
TGIS_Point | Found snap point. If such point cannot be localized then same as _ptg. |
Snap point is the best point in the shape for which we can perform snapping.