Plane
-
class
Plane() Object representing a Plane.
Methods
-
Plane.assign() - assign(plane:
Plane): voidSets this plane equal to another plane
Parameters
plane:
Planethe plane to assignReturns: void
-
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
-
Plane.distanceToPoint() - distanceToPoint(point:
Point3): numberParameters
point:Point3Returns: number
-
Plane.equals() - equals(plane:
Plane): booleanReturns true if the normal and d value are the same.
Parameters
plane:PlaneReturns: boolean
-
Plane.getCoefficients() - getCoefficients(): [number, number, number, number]
Returns: [number, number, number, number]
-
Plane.intersectsRay() -
Parameters
Returns: boolean
-
Plane.setFromCoefficients() - setFromCoefficients(a: number, b: number, c: number, d: number): void
Parameters
a: number
b: number
c: number
d: number
Returns: void
-
Plane.setFromPointAndNormal() -
Parameters
Returns: this
-
Plane.setFromPoints() -
Update the plane to pass through the three points
Parameters
Returns: void