Skip to content

Threepp.Plane

Plane class

Members

Constructors

Methods


Plane

Constructor

Arguments

Arguments Default Description
normal   Normal (Vector3).
constant   Constant.

Description

Constructor


set

Method

Arguments

Arguments Default Description
normal  
constant  

Description

Sets the values


setComponents

Method

Arguments

Arguments Default Description
x  
y  
z  
w  

Description

Sets the plane from individual components


setFromNormalAndCoplanarPoint

Method

Arguments

Arguments Default Description
normal  
point  

Description

Sets the plane from a normal and a point


clone

Method

Description

Clones the plane


copy

Method

Arguments

Arguments Default Description
plane  

Description

Copies another plane


normalize

Method

Description

Normalizes the plane


negate

Method

Description

Negates the plane


distanceToPoint

Method

Arguments

Arguments Default Description
point  

Description

Distance to a point


distanceToSphere

Method

Arguments

Arguments Default Description
sphere  

Description

Distance to a sphere


coplanarPoint

Method

Description

Gets a point on the plane


applyMatrix4

Method

Arguments

Arguments Default Description
m  

Description

Applies a matrix


translate

Method

Arguments

Arguments Default Description
offset  

Description

Translates the plane


equals

Method

Arguments

Arguments Default Description
plane  

Description

Equality test