Package empro :: Module empro :: Module geometry :: Class Plane
[frames] | no frames]

Class Plane

Interface to a plane.

Class Hierarchy for Plane
Class Hierarchy for Plane

constructor Plane():

constructor Plane(iAnchor, iNormal):

constructor Plane(iNormal, iConstant):

constructor Plane(iPoint1, iPoint2, iPoint3):

Instance Methods
Expression
constant()
Returns the constant in the equation of the plane (d in a*x+b*y+c*z+d=0).
float
distanceTo(iPoint)
Returns the distance from the plane to a point.
Vector3d
normal()
Returns the normal of the plane.
Vector3d
origin()
Returns a point in the plane.
Method Details

distanceTo(iPoint)

 

Returns the distance from the plane to a point.

Parameters:
  • iPoint (Vector3d) - Point to query for distance.
Returns: float