类 GeoBox
表示地理空间Geo
命名空间: Realms
程序集:Realm.dll
语法
public class GeoBox : GeoShapeBase
构造函数
| 编辑本页 查看源代码GeoBox(GeoPoint, GeoPoint)
根据提供的坐标初始化Geo
声明
public GeoBox(GeoPoint bottomLeftCorner, GeoPoint topRightCorner)
参数
| 编辑本页 查看源代码GeoBox(double, double, double, double)
根据提供的坐标初始化Geo
声明
public GeoBox(double left, double top, double right, double bottom)
参数
属性
| 编辑本页 查看源代码Bottom
获取矩形下边缘的纬度。
声明
public double Bottom { get; }
属性值
类型 | 说明 |
---|---|
double | 盒子的底边。 |
向左
获取矩形左边缘的经度。
声明
public double Left { get; }
属性值
类型 | 说明 |
---|---|
double | 框的左边缘。 |
右
获取矩形右边缘的经度。
声明
public double Right { get; }
属性值
类型 | 说明 |
---|---|
double | 框的右边缘。 |
top
获取矩形上边缘的纬度。
声明
public double Top { get; }
属性值
类型 | 说明 |
---|---|
double | 盒子的上边缘。 |
方法
| 编辑本页 查看源代码ToString()
返回值的字符串表示形式。
声明
public override string ToString()
返回:
类型 | 说明 |
---|---|
字符串 | 值的字符串表示形式。 |