IGIS_Viewer3D.Locate3D method
Syntax
# Python
def Locate3D(
self,
_pt: TPoint,
_prec: int,
_layer: VarParameter,
_ptg: VarParameter,
_shp: VarParameter,
_part: VarParameter
) -> bool:
Parameters
| Name | Type | Description |
| _pt | TPoint | screen coordinate |
| _prec | int | precision in pixels (must be >= 0) |
| _layer | TGIS_LayerAbstract | input : layer to be searched, if nil all layers will be searched output : layer contained located object, if nil no object located |
| _ptg | TGIS_Point3D | hitting point |
| _shp | TGIS_ShapeAbstract | located shape or nil |
| _part | int | located shape part number |
Result
| Type | Description |
| bool | True if shape was found |