Share via


BoundingBox Class

Definition

Represents a coordinate range for geometries in the Azure Cosmos DB service.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Cosmos.Spatial.Converters.BoundingBoxJsonConverter))]
[System.Runtime.Serialization.DataContract]
public sealed class BoundingBox : IEquatable<Microsoft.Azure.Cosmos.Spatial.BoundingBox>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Cosmos.Spatial.Converters.BoundingBoxJsonConverter))>]
[<System.Runtime.Serialization.DataContract>]
type BoundingBox = class
    interface IEquatable<BoundingBox>
Public NotInheritable Class BoundingBox
Implements IEquatable(Of BoundingBox)
Inheritance
BoundingBox
Attributes
Newtonsoft.Json.JsonConverterAttribute DataContractAttribute
Implements

Constructors

BoundingBox(Position, Position)

Initializes a new instance of the BoundingBox class in the Azure Cosmos DB service.

Properties

Max

Gets highest values for all axes of the bounding box in the Azure Cosmos DB service.

Min

Gets lowest values for all axes of the bounding box in the Azure Cosmos DB service.

Methods

Equals(BoundingBox)

Determines if this BoundingBox is equal to the other in the Azure Cosmos DB service.

Equals(Object)

Determines whether the specified BoundingBox is equal to the current BoundingBox in the Azure Cosmos DB service.

GetHashCode()

Serves as a hash function for BoundingBox type in the Azure Cosmos DB service.

Applies to