Class BoundingBox
- Namespace
- Geotab.Checkmate.ObjectModel.Geographical
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A geographic area defined by the top-left and bottom-right coordinates.
public class BoundingBox
- Inheritance
-
BoundingBox
- Inherited Members
Constructors
BoundingBox()
Initializes a new instance of the BoundingBox class that's empty.
public BoundingBox()
BoundingBox(double, double, double, double)
Initializes a new instance of the BoundingBox class.
public BoundingBox(double left, double bottom, double right, double top)
Parameters
left
doubleLeft Longitude.
bottom
doubleBottom Latitude.
right
doubleRight Longitude.
top
doubleTop Latitude.
Properties
Bottom
Gets or sets the bottom latitude. Minimum value [-90]. Maximum value [90]. Default [0].
public double? Bottom { get; set; }
Property Value
Left
Gets or sets the left longitude. Minimum value [-180]. Maximum value [180]. Default [0].
public double? Left { get; set; }
Property Value
Right
Gets or sets the right longitude. Minimum value [-180]. Maximum value [180]. Default [0].
public double? Right { get; set; }
Property Value
Top
Gets or sets the top latitude. Minimum value [-90]. Maximum value [90]. Default [0].
public double? Top { get; set; }
Property Value
Methods
IsEmpty()
Gets a value indicating whether this bounding box is empty.
public bool IsEmpty()
Returns
IsValid()
Determines whether the bounding box values are valid or not.
public bool IsValid()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.