Class GeoWithinBox<TCoordinates>
Object that specifies the bottom left and top right GeoJSON points of a box to search within.
public sealed class GeoWithinBox<TCoordinates> : GeoWithinArea<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
- Inheritance
-
GeoWithinArea<TCoordinates>GeoWithinBox<TCoordinates>
- Inherited Members
Constructors
GeoWithinBox(GeoJsonPoint<TCoordinates>, GeoJsonPoint<TCoordinates>)
Initializes a new instance of the GeoWithinBox<TCoordinates> class.
public GeoWithinBox(GeoJsonPoint<TCoordinates> bottomLeft, GeoJsonPoint<TCoordinates> topRight)
Parameters
bottomLeft
GeoJsonPoint<TCoordinates>The bottom left GeoJSON point.
topRight
GeoJsonPoint<TCoordinates>The top right GeoJSON point.
Properties
BottomLeft
Gets the bottom left GeoJSON point.
public GeoJsonPoint<TCoordinates> BottomLeft { get; }
Property Value
- GeoJsonPoint<TCoordinates>
TopRight
Gets the top right GeoJSON point.
public GeoJsonPoint<TCoordinates> TopRight { get; }
Property Value
- GeoJsonPoint<TCoordinates>