You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Glossary: SpatialCriteriaFactory

Methods

Signature Description
SpatialCriteria RelatesToShape(object shape, SpatialRelation relation) Matches elements based on shape and relation
SpatialCriteria Intersects(object shape) Matches elements which intersects to given shape
SpatialCriteria Contains(object shape) Matches elements which contains given shape
SpatialCriteria Disjoint(object shape) Matches elements which disjoints given shape
SpatialCriteria Within(object shape) Matches elements within given shape
SpatialCriteria WithinRadiusOf(double radius, double x, double y) [Obsolete("Order of parameters in this method is inconsistent with the rest of the API (x = longitude, y = latitude). Please use 'WithinRadius'.")] Matches elements within given radius with center point in (x,y)
SpatialCriteria WithinRadius(double radius, double latitude, double longitude) Matches elements within given radius with center point in (latitude, longitude)

SpatialCriteria

Properties

Name Type Description
Relation SpatialRelation Spatial relation
Shape object Shape