new ov.VoxelEntity()
webgl/module/voxelModule/ov-Voxel.js, line 85
Voxel實體。
Methods
-
addSectionPlane(param){ov.VoxelSectionPlane}
webgl/module/voxelModule/ov-Voxel.js, line 166 -
新增一個Voxel裁切面。
Name Type Description paramobject 參數。
Name Type Default Description pointGeoPoint 原點,相對於Voxel實體
tiltnumber 0 optional 傾角。
orientationnumber 0 optional 方位角。
Returns:
Type Description ov.VoxelSectionPlane -
addSlice(param){ov.VoxelSlice|null}
webgl/module/voxelModule/ov-Voxel.js, line 186 -
新增一個Voxel裁切體。(上限8個,到達上限則回傳
null)Name Type Description paramobject 參數。
Name Type Default Description pointGeoPoint 原點,相對於Voxel實體
tiltnumber 0 optional 傾角。
orientationnumber 0 optional 方位角。
Returns:
Type Description ov.VoxelSlice | null -
goto()
webgl/module/voxelModule/ov-Voxel.js, line 139 -
前往該Voxel實體所在地。
-
removeSectionPlane(plane)
webgl/module/voxelModule/ov-Voxel.js, line 174 -
移除一個Voxel裁切面。
Name Type Description planeov.VoxelSectionPlane Voxel裁切面。
-
removeSlice(slice)
webgl/module/voxelModule/ov-Voxel.js, line 198 -
移除一個Voxel裁切體。
Name Type Description sliceov.VoxelSlice Voxel裁切體。
-
setOnClickEntity(callback)
webgl/module/voxelModule/ov-Voxel.js, line 126 -
設定此實體裁切面被點即時的回呼。
Name Type Description callbackov.VoxelEntity~setOnClickEntityCallback 裁切面被點即時的回呼。
-
update(param)
webgl/module/voxelModule/ov-Voxel.js, line 148 -
更新參數。
Name Type Description paramobject 參數。
- See:
Type Definitions
-
setOnClickEntityCallback(value, pos)
webgl/module/voxelModule/ov-Voxel.js, line 129 -
Name Type Description valuenumber 數值。
posGeoPoint 滑鼠坐標。
- See: