# CuttingPlane

class CuttingPlane()

Constructors

- `constructor()`

Properties

- `color`

- `instanceNodeId`

- `lineColor`

- `matrix`

- `meshId`

- `opacity`

- `plane`

- `referenceGeometry`

Methods

- `createMeshData()`

- `fromJson()`

- `getMatrix()`

- `getReferenceGeometry()`

- `setMatrix()`

- `setReferenceGeometry()`

- `toJson()`

## 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

    - matrix (`Matrix()`) – None

  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