Package Scientific :: Package Geometry :: Module Objects3D :: Class Plane
[hide private]
[frames] | no frames]

Class Plane



GeometricalObject3D --+
                      |
                     Plane

Plane

Instance Methods [hide private]
  __init__(self, *args)
There are two calling patterns:
float distanceFrom(self, point)
Scientific.Geometry.Vector projectionOf(self, point)
Returns the projection of point onto the plane
Plane rotate(self, axis, angle)
Returns a copy of the plane rotated around the coordinate origin
float or NoneType volume(self)
Returns the volume of the object.

Inherited from GeometricalObject3D: hasPoint, intersectWith


Method Details [hide private]

__init__(self, *args)
(Constructor)

 

There are two calling patterns:
  • Plane(point, normal), where point (a vector) is an arbitrary point in the plane and normal (a vector) indicated the direction normal to the plane.
  • Plane(p1, p2, p3), where each argument is a vector and describes a point in the plane. The three points may not be colinear.

distanceFrom(self, point)

 
Returns: float
Overrides: GeometricalObject3D.distanceFrom
(inherited documentation)

projectionOf(self, point)

 
Parameters:
Returns: Scientific.Geometry.Vector
the projection of point onto the plane

rotate(self, axis, angle)

 
Parameters:
Returns: Plane
a copy of the plane rotated around the coordinate origin

volume(self)

 
Returns: float or NoneType
the volume of the object. The result is None for unbounded objects and zero for lower-dimensional objects.
Overrides: GeometricalObject3D.volume
(inherited documentation)