TSClipPlane

Planar clipping encapsulation class. Creates an instance of Roaming.

new SuperMap3D.TSClipPlane(viewer)

Name Type Description
viewer * Require input
options.ClipPlaneShow * Optional, plane hidden
options.clipPlaneScale * Optional, plane scaling factor

Methods

clear()

Clear

destroy()

Destroy

setClipPlane(degree, layerNames)

Execute adding clips and editing models
Name Type Description
degree * Require input, longitude and latitude elevation {lng: num, lat: num, alt: num}
layerNames * Require input, clipped layer name array ["BIM", "NewBIM", "New curtain wall panel"]