DK for Delphi | GisLayerVector.TGIS_Shape.GetSnapPoint3D | Constructors | Fields | Methods | Properties
Retrieving a snap point in 3D.
// Delphi public function GetSnapPoint3D( const _ptg : TGIS_Point3D; const _prec : Double; var _dist : Double ) : TGIS_Point3D; virtual;
// C++ Builder public: virtual TGIS_Point3D* GetSnapPoint3D( TGIS_Point3D* const _ptg, const double _prec, double &_dist );
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point3D | point for which we are seeking a snap point ; |
_prec | Double | snapping precision; only points closer to _ptg then _prec can be found ; |
_dist | Double | achieved precision |
Type | Description |
---|---|
TGIS_Point3D | 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.