Class BoundingBoxProperties
Represents bounding box for geometry spatial path in the Azure Cosmos DB service
public sealed class BoundingBoxProperties
- Inheritance
-
BoundingBoxProperties
- Inherited Members
- Extension Methods
Examples
{
"id": "DocumentCollection Id",
"indexingPolicy":{
"spatialIndexes":
[{
"path":"/'region'/?",
"types":["Polygon"],
"boundingBox":
{
"xmin":0,
"ymin":0,
"xmax":10,
"ymax":10
}
}]
},
"geospatialConfig":
{
"type": "Geometry"
}
}
Constructors
BoundingBoxProperties()
public BoundingBoxProperties()
Properties
Xmax
Gets the x-coordinate of the upper-right corner of the bounding box.
public double Xmax { get; set; }
Property Value
Xmin
Gets the x-coordinate of the lower-left corner of the bounding box.
public double Xmin { get; set; }
Property Value
Ymax
Gets the y-coordinate of the upper-right corner of the bounding box.
public double Ymax { get; set; }
Property Value
Ymin
Gets the y-coordinate of the lower-left corner of the bounding box.
public double Ymin { get; set; }