new fengmap.FMExtent()
Members
-
readonlybound
-
Properties:
Name Type Description bound
fengmap.FMBound 边界
-
readonlyheight
-
模型高度
Properties:
Type Description number -
readonlyID
-
模型ID
Properties:
Type Description number -
readonlylevel
-
模型所在层级
Properties:
Type Description string -
readonlytype
-
Properties:
Name Type Description type
fengmap.FMType 节点类型
-
visible
-
Properties:
Name Type Description visible
Boolean true 显示 false 隐藏
-
readonlyx
-
Properties:
Name Type Description x
number 中点X轴坐标
-
readonlyy
-
Properties:
Name Type Description y
number 中点Y轴坐标
Methods
-
inherited dispose()
-
废置地图对象
-
getArea(){number}
-
获取计算的面积
Returns:
Type Description number 面积 -
getBound(){Object}
-
获取模型边界
- Deprecated
- 3.1.5 版本及以后版本将不可用
Returns:
Type Description Object 获取模型边界 minX: mbound.minX, maxX: mbound.maxX, minY: mbound.minY, maxY: mbound.maxY -
getData(){Object}
-
获取地板数据属性
Returns:
Name Type Description Object
Object 地板的数据属性 Name Type Description ID
number 图层唯一id area
number 面积 -
inherited traverse(callback)
-
遍历返回子节点
Name Type Description callback