Plane
-
class
common.Plane() Object representing a Plane.
Constructors
Properties
-
common.Plane.d - d: number
Methods
-
static common.Plane.createFromCoefficients() static
createFromCoefficients(a: number, b: number, c: number, d: number):PlaneParameters
a: number
b: number
c: number
d: number
Returns:
Plane
-
common.Plane.assign() - assign(plane:
Plane): voidSets this plane equal to another plane
Parameters
plane:
Planethe plane to assignReturns: void
-
common.Plane.copy() - copy():
PlaneCreates a copy of this plane
Returns:
Planea copy of this plane object
-
common.Plane.determineSide() - determineSide(p:
Point3): booleanReturns true if the point is on the side of the plane that the plane’s normal is directed. Returns false otherwise.
Parameters
p:
Point3The point to test.Returns: boolean
-
common.Plane.distanceToPoint() - distanceToPoint(point:
Point3): numberParameters
point:Point3Returns: number
-
common.Plane.equals() - equals(plane:
Plane): booleanReturns true if the normal and d value are the same.
Parameters
plane:PlaneReturns: boolean
-
common.Plane.getCoefficients() - getCoefficients(): [number, number, number, number]
Returns: [number, number, number, number]
-
common.Plane.intersectsRay() -
Parameters
Returns: boolean
-
common.Plane.setFromCoefficients() - setFromCoefficients(a: number, b: number, c: number, d: number): void
Parameters
a: number
b: number
c: number
d: number
Returns: void
-
common.Plane.setFromPointAndNormal() -
Parameters
Returns: this
-
common.Plane.setFromPoints() -
Update the plane to pass through the three points
Parameters
Returns: void