Methods
Object

calculateSectionPlanesForBoundingBox

Returns the requested section planes of the specified bounding box.

Usage

JS


Parameters

boundingBox

Bounding box used to calculate section planes

Type

Required

Box3

Yes

planeNames

List of named planes.

Type

Required

Array[String]

Yes

Named Plane

Valid values are:

  • top
  • bottom
  • left
  • right
  • front
  • back

Return Value

List of planes.

Type

Array[Object]

Plane

Name

Type

Description

location

Vector3

Location of the plane

direction

Vector3

Direction of the plane

Example

JS