C# Class Lucene.Net.Spatial.Queries.SpatialOperation

Show file Open project: apache/lucenenet Class Usage Examples

Public Properties

Property Type Description
BBoxIntersects SpatialOperation
BBoxWithin SpatialOperation
Contains SpatialOperation
Intersects SpatialOperation
IsDisjointTo SpatialOperation
IsEqualTo SpatialOperation
IsWithin SpatialOperation
Overlaps SpatialOperation

Public Methods

Method Description
Evaluate ( IShape indexedShape, IShape queryShape ) : bool

Returns whether the relationship between indexedShape and queryShape is satisfied by this operation.

Get ( string v ) : SpatialOperation
Is ( SpatialOperation op ) : bool
ToString ( ) : string

Protected Methods

Method Description
SpatialOperation ( string name, bool scoreIsMeaningful, bool sourceNeedsArea, bool targetNeedsArea ) : Spatial4n.Core.Shapes

Method Details

Evaluate() public abstract method

Returns whether the relationship between indexedShape and queryShape is satisfied by this operation.
public abstract Evaluate ( IShape indexedShape, IShape queryShape ) : bool
indexedShape IShape
queryShape IShape
return bool

Get() public static method

public static Get ( string v ) : SpatialOperation
v string
return SpatialOperation

Is() public static method

public static Is ( SpatialOperation op ) : bool
op SpatialOperation
return bool

SpatialOperation() protected method

protected SpatialOperation ( string name, bool scoreIsMeaningful, bool sourceNeedsArea, bool targetNeedsArea ) : Spatial4n.Core.Shapes
name string
scoreIsMeaningful bool
sourceNeedsArea bool
targetNeedsArea bool
return Spatial4n.Core.Shapes

ToString() public method

public ToString ( ) : string
return string

Property Details

BBoxIntersects public static property

Bounding box of the *indexed* shape.
public static SpatialOperation,Lucene.Net.Spatial.Queries BBoxIntersects
return SpatialOperation

BBoxWithin public static property

Bounding box of the *indexed* shape.
public static SpatialOperation,Lucene.Net.Spatial.Queries BBoxWithin
return SpatialOperation

Contains public static property

public static SpatialOperation,Lucene.Net.Spatial.Queries Contains
return SpatialOperation

Intersects public static property

public static SpatialOperation,Lucene.Net.Spatial.Queries Intersects
return SpatialOperation

IsDisjointTo public static property

public static SpatialOperation,Lucene.Net.Spatial.Queries IsDisjointTo
return SpatialOperation

IsEqualTo public static property

public static SpatialOperation,Lucene.Net.Spatial.Queries IsEqualTo
return SpatialOperation

IsWithin public static property

public static SpatialOperation,Lucene.Net.Spatial.Queries IsWithin
return SpatialOperation

Overlaps public static property

public static SpatialOperation,Lucene.Net.Spatial.Queries Overlaps
return SpatialOperation