Hierarchy

  • SectionBox

Methods

  • Alias for setToInfinity(). Makes the section box infinitely large so it doesn't crop anything in the view

    Returns void

  • Returns bounding box of the section box. This is usefull for zooming and similar operations

    Parameters

    • wcs: vec3

    Returns Float32Array

  • Matrix representation of this box. Can be used for simple test of points.

    Parameters

    • wcs: vec3

    Returns mat4

  • Parameters

    • box: ArrayLike<number>

    Returns void

  • Sets frustum to maximum extens so that it shouldn't cut anything in the view.

    Returns void

  • Computes section box from 6 clipping planes if these form a box

    Returns

    true if succeeded, false if planes don't form a box

    Parameters

    Returns boolean

Constructors

Accessors

  • get isSet(): boolean
  • True when section box is set, false otherwise

    Returns boolean

Generated using TypeDoc