Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Plane

A two dimensional surface that extends infinitely in 3d space, represented in Hessian normal form by a unit length normal vector and a constant. See the ngx3js docs page for details.

Hierarchy

  • Plane

Index

Constructors

constructor

Properties

constant

constant: number

The signed distance from the origin to the plane. Default is 0.

default

0

Readonly isPlane

isPlane: true

normal

normal: I3JS.Vector3

A unit length Vector3 defining the normal of the plane. Default is (1, 0, 0).

default

new THREE.Vector3( 1, 0, 0 )

Methods

applyMatrix4

clone

coplanarPoint

copy

distanceToPoint

distanceToSphere

equals

intersectLine

intersectsBox

intersectsLine

intersectsSphere

negate

normalize

orthoPoint

projectPoint

set

setComponents

  • setComponents(x: number, y: number, z: number, w: number): I3JS.Plane
  • Set the individual components that define the plane.

    Parameters

    • x: number

      x value of the unit length normal vector.

    • y: number

      y value of the unit length normal vector.

    • z: number

      z value of the unit length normal vector.

    • w: number

      The value of the plane's .constant property.

    Returns I3JS.Plane

setFromCoplanarPoints

setFromNormalAndCoplanarPoint

translate

Generated using TypeDoc