Share via


BoundingBox Class

Definition

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

[System.Runtime.Serialization.DataContract]
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonBoundingBoxConverter))]
public sealed class BoundingBox : IEquatable<Azure.Cosmos.Spatial.BoundingBox>
[<System.Runtime.Serialization.DataContract>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonBoundingBoxConverter))>]
type BoundingBox = class
    interface IEquatable<BoundingBox>
Public NotInheritable Class BoundingBox
Implements IEquatable(Of BoundingBox)
Inheritance
BoundingBox
Attributes
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