Свойство | Тип | Описание | |
---|---|---|---|
DEFAULT_DISTERRPCT | double |
Метод | Описание | |
---|---|---|
CalcDistanceFromErrPct ( IShape shape, double distErrPct, SpatialContext ctx ) : double |
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.
|
|
ResolveDistErr ( SpatialContext ctx, double defaultDistErrPct ) : double |
Gets the error distance that specifies how precise the query shape is. This looks at DistErr, DistErrPct, and defaultDistErrPct.
|
|
SpatialArgs ( |
||
ToString ( ) : string | ||
Validate ( ) : void |
Check if the arguments make sense -- throw an exception if not
|
public static CalcDistanceFromErrPct ( IShape shape, double distErrPct, SpatialContext ctx ) : double | ||
shape | IShape | Mandatory. |
distErrPct | double | 0 to 0.5 |
ctx | SpatialContext | Mandatory |
Результат | double |
public ResolveDistErr ( SpatialContext ctx, double defaultDistErrPct ) : double | ||
ctx | SpatialContext | |
defaultDistErrPct | double | 0 to 0.5 |
Результат | double |
public SpatialArgs ( |
||
operation | ||
shape | IShape | |
Результат | Spatial4n.Core.Context |