CuttingSection
-
class
CuttingSection
()
Methods
activate()
addPlane()
applyPlaneOpacity()
clear()
deactivate()
fromJson()
getCount()
getCuttingPlanes()
getNodeId()
getPlane()
getPlaneColor()
getPlaneIndexByNodeId()
getPlaneLineColor()
getPlaneOpacity()
getReferenceGeometry()
isActive()
removePlane()
resetPlanesOpacity()
setColor()
setOpacity()
setPlane()
setPlaneColor()
setPlaneLineColor()
setPlaneOpacity()
toJson()
updatePlane()
Methods
addPlane
applyPlaneOpacity
-
CuttingSection.
applyPlaneOpacity
(index[, opacity]) Arguments: - index (
number()
) – - opacity (
number()
) – optional
Return type: void
- index (
fromJson
-
CuttingSection.
fromJson
(json) Arguments: - json (
object()
) – None
Return type: Promise <void>
- json (
getCuttingPlanes
-
CuttingSection.
getCuttingPlanes
() Return type: [ CuttingPlane()
]
getPlaneColor
getPlaneIndexByNodeId
getPlaneLineColor
getPlaneOpacity
-
CuttingSection.
getPlaneOpacity
(index) Arguments: - index (
number()
) –
Return type: number | undefined
- index (
getReferenceGeometry
-
CuttingSection.
getReferenceGeometry
(index) Arguments: - index (
number()
) –
Return type: [Point3] | null
- index (
removePlane
-
CuttingSection.
removePlane
(index) Arguments: - index (
number()
) –
Return type: Promise <void>
- index (