Point
点几何构造函数。
关系
Extends
Point Extends Geometry
继承: Geometry
构造函数
Point
点几何构造函数。
属性
cache
几何图形缓存 - 用于存储从几何图形计算得出的值
cache: any
类型: any
extent
几何图形的范围 - 包含几何图形的最小边界矩形
extent: Extent
类型: Extent
hasM
是否包含M值 - 指示几何图形是否具有测量值
hasM: boolean
类型: boolean
hasZ
是否包含Z值 - 指示几何图形是否具有高程值
hasZ: boolean
类型: boolean
latitude
点的纬度。
latitude: number
类型: number
longitude
点的经度。
longitude: number
类型: number
m
点在地图单位中的 m 坐标。
m: number
类型: number
type
表示几何类型的字符串值。
type: "point"
类型: "point"
x
点在地图单位中的 x 坐标(东向)。
x: number
类型: number
y
点在地图单位中的 y 坐标(北向)。
y: number
类型: number
z
点在地图单位中的 z 坐标(高程)。
z: number
类型: number
访问器
spatialReference
几何图形的空间参考系统
get spatialReference(): SpatialReference
返回: SpatialReference 几何图形的空间参考系统
set spatialReference(value: SpatialReferenceProperties): void
参数
- value:
SpatialReferenceProperties
返回: void
方法
clone
创建 Point 对象的深拷贝。
clone(): Point
返回:Point
copy
从另一个 Point 实例复制所有值。
copy(other): this
参数
- other:
Point要复制的点
返回:this
distance
计算此点与给定点之间的欧几里得距离。
distance(other): number
参数
- other:
Point要计算距离的点
返回:number
equals
判断输入点是否等于调用该函数的点。
equals(point): boolean
参数
- point:
Point要测试的输入点
返回:boolean
normalize
标准化点坐标。
normalize(): Point
返回:Point
toJSON
转换为JSON表示
toJSON(): any
返回:any

BIMFlux AI
