Method CalcDistanceFromErrPct
CalcDistanceFromErrPct(IShape, Double, SpatialContext)
Computes the distance given a shape and the distErrPct
. The
algorithm is the fraction of the distance from the center of the query
shape to its furthest bounding box corner.
Declaration
public static double CalcDistanceFromErrPct(IShape shape, double distErrPct, SpatialContext ctx)
Parameters
Type | Name | Description |
---|---|---|
IShape | shape | Mandatory. |
System.Double | distErrPct | 0 to 0.5 |
SpatialContext | ctx | Mandatory |
Returns
Type | Description |
---|---|
System.Double | A distance (in degrees). |