Table of Contents

Class BoundingBoxProperties

Namespace
Microsoft.Azure.Cosmos
Assembly
Microsoft.Azure.Cosmos.Client.dll

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

double

Xmin

Gets the x-coordinate of the lower-left corner of the bounding box.

public double Xmin { get; set; }

Property Value

double

Ymax

Gets the y-coordinate of the upper-right corner of the bounding box.

public double Ymax { get; set; }

Property Value

double

Ymin

Gets the y-coordinate of the lower-left corner of the bounding box.

public double Ymin { get; set; }

Property Value

double