# CuttingPlaneOperator

class Operators.CuttingPlaneOperator()

Constructors

- `constructor()`

Methods

- `addMapping()`

- `clearMapping()`

- `setMapping()`

## Constructors

CuttingPlaneOperator.constructor(viewer, view, cuttingManager)
  Arguments

    - viewer (`WebViewer()`) – None

    - view (`View()`) – None

    - cuttingManager (`CuttingManager()`) – None

  Return type

    CuttingPlaneOperator

## Methods

### addMapping

CuttingPlaneOperator.addMapping(button, modifier)
  Arguments

    - button (`Button()`) – None

    - modifier (`KeyModifiers()`) – None

  Adds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.

  Return type

    void

### clearMapping

CuttingPlaneOperator.clearMapping()

  Clears any button and key modifier mappings for the operator.

  Return type

    void

### setMapping

CuttingPlaneOperator.setMapping(button, modifier)
  Arguments

    - button (`Button()`) – None

    - modifier (`KeyModifiers()`) – None

  Sets the button and key modifier mapping for the operator.

  Return type

    void