Class SpatialArgs
Principally holds the query IShape and the SpatialOperation. It's used as an argument to some methods on SpatialStrategy.
@lucene.experimental
Inheritance
Inherited Members
Assembly: Lucene.Net.Spatial.dll
Syntax
public class SpatialArgs
Constructors
Name | Description |
---|---|
SpatialArgs(SpatialOperation, IShape) |
Fields
Name | Description |
---|---|
DEFAULT_DISTERRPCT |
Properties
Name | Description |
---|---|
DistErr | The acceptable error of the shape. This effectively inflates the size of the shape but should not shrink it. |
DistErrPct | A measure of acceptable error of the shape as a fraction. This effectively inflates the size of the shape but should not shrink it. |
Operation | |
Shape |
Methods
Name | Description |
---|---|
CalcDistanceFromErrPct(IShape, Double, SpatialContext) | Computes the distance given a shape and the |
ResolveDistErr(SpatialContext, Double) | Gets the error distance that specifies how precise the query shape is. This
looks at DistErr, DistErrPct, and
|
ToString() | |
Validate() | Check if the arguments make sense -- throw an exception if not |