CuttingPlane

class CuttingPlane()

Constructors


Constructors

CuttingPlane.constructor()
Return type:CuttingPlane

Properties

CuttingPlane.color
Type:Color
CuttingPlane.instanceNodeId
Type:null | number
CuttingPlane.lineColor
Type:Color
CuttingPlane.matrix
Type:Matrix
CuttingPlane.meshId
Type:null | MeshId
CuttingPlane.opacity
Type:number
CuttingPlane.plane
Type:Plane
CuttingPlane.referenceGeometry
Type:null | [Point3]

Methods

createMeshData

CuttingPlane.createMeshData()
Return type:null | MeshData

fromJson

CuttingPlane.fromJson(json)
Arguments:
  • json (object()) – None
Return type:

void

getMatrix

CuttingPlane.getMatrix()
Return type:Matrix

getReferenceGeometry

CuttingPlane.getReferenceGeometry()
Return type:null | [Point3]

setMatrix

CuttingPlane.setMatrix(matrix)
Arguments:
Return type:

void

setReferenceGeometry

CuttingPlane.setReferenceGeometry(referenceGeometry)
Arguments:
  • referenceGeometry (null | [Point3]()) – None
Return type:

void

toJson

CuttingPlane.toJson()

Creates an object ready for JSON serialization.

Returns:The prepared object.
Return type:CuttingPlaneData