Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BoundingBoxProperties 类

定义

表示 Azure Cosmos DB 服务中几何空间路径的边界框

public sealed class BoundingBoxProperties
type BoundingBoxProperties = class
Public NotInheritable Class BoundingBoxProperties
继承
BoundingBoxProperties

示例

{ “id”: “DocumentCollection Id”, “indexingPolicy”:{ “spatialIndexes”: [{
“path”:“/'region'/?”, “types”:[“Polygon”], “boundingBox”: { “xmin”:0, “ymin”:0, “xmax”:10, “ymax”:10 } }] }, “geospatialConfig”: { “type”: “Geometry” } }

构造函数

BoundingBoxProperties()

表示 Azure Cosmos DB 服务中几何空间路径的边界框

属性

Xmax

获取边界框右上角的 x 坐标。

Xmin

获取边界框左下角的 x 坐标。

Ymax

获取边界框右上角的 y 坐标。

Ymin

获取边界框左下角的 y 坐标。

适用于