Свойство | Type | Description | |
---|---|---|---|
DEFAULT_DISTERRPCT | double |
Méthode | Description | |
---|---|---|
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 |
Résultat | double |
public ResolveDistErr ( SpatialContext ctx, double defaultDistErrPct ) : double | ||
ctx | SpatialContext | |
defaultDistErrPct | double | 0 to 0.5 |
Résultat | double |
public SpatialArgs ( |
||
operation | ||
shape | IShape | |
Résultat | Spatial4n.Core.Context |