Static variables
Constructor
Variables
Methods
classifyPoint(p:Vector3D, epsilon:Float = 0.01):Int
Classify a point against this Plane3D. (in front, back or intersecting)
Parameters:
p | Vector3D |
|---|
Returns:
int Plane3.FRONT or Plane3D.BACK or Plane3D.INTERSECT
distance(p:Vector3D):Float
Returns the signed distance between this Plane3D and the point p.
Parameters:
p | Vector3D |
|---|
Returns:
Number
fromNormalAndPoint(normal:Vector3D, point:Vector3D):Void
Fills this Plane3D with the coefficients from the plane's normal and a point in 3d space.
Parameters:
normal | Vector3D |
|---|---|
point | Vector3D |
fromPoints(p0:Vector3D, p1:Vector3D, p2:Vector3D):Void
Fills this Plane3D with the coefficients from 3 points in 3d space.
Parameters:
p0 | Vector3D |
|---|---|
p1 | Vector3D |
p2 | Vector3D |