DK11 for Delphi | GisEditor.TGIS_Editor.FindSnapPoint | Constructors | Methods | Properties | Events
Find a snap point based on a snap type from snap-to layers.
Implements IGIS_Editor.FindSnapPoint.
// Delphi public function FindSnapPoint( const _pt : TPoint; var _ptg : TGIS_Point; var _snapType : TGIS_EditorSnapResultType ) : Boolean;
// C++ Builder public: bool FindSnapPoint( TPoint* const _pt, TGIS_Point* &_ptg, TGIS_EditorSnapResultType* &_snapType );
Name | Type | Description |
---|---|---|
_pt | TPoint | Mouse position |
_ptg | TGIS_Point | found snap point coordinates |
_snapType | TGIS_EditorSnapResultType | found type of snap point (vertex, edge, intersection, midpoint ) |
Type | Description |
---|---|
Boolean | True if any snap point was found |