DK11 for Java | tatukgis.jdk.TGIS_Shape.Distance | Constructors | Fields | Methods | Properties
Calculate planar distance between a point and the shape.
// Java public double Distance( TGIS_Point _ptg, double _prec );
// Oxygene public function Distance( _ptg : TGIS_Point; _prec : Double ) : Double; virtual;
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | reference point |
_prec | double Double | precision /not longer distance than/; point inside the polygon is always not greater then _prec; if _prec less than 0, then being outside/inside polygon means the same; |
Type | Description |
---|---|
double Double | Distance between shapes in map units. |