1 Geometry Module

2 ===============

4 The geometry module is used to obtain information about the points and vertices of a ployhedra.

6 .. py:class:: Points

8 This class represents points in space.

10 .. py:method:: isorigin(self)

12 Return true is given point is the origin.

14 .. py:method::

16 .. py:class:: Vector

18 This class represents displacements in space.

20 .. py:method:: angle(self, other)

22 Retrieve the angle required to rotate the vector into the vector passed

23 in argument. The result is an angle in radians, ranging between -pi and

24 pi.

26 .. py:method:: cross(self, other)

28 Calculate the cross product of two Vector3D structures.

30 .. py:method:: dot(self, other)

32 Calculate the dot product of two vectors.

34 .. py:method:: __trudiv__(self, other)

36 Divide the vector by the specified scalar and returns the result as a

37 vector.