zPlane
plane for drawing reference to the complex plane
and taking no arguments
Methods defined in zPlane
Methods defined in _Plane
set defining attributes from 3 points on the plane
set a unit vector perpendicular to the plane's normal vector
return a 4x4 matrix representing the plane
return the point on the plane on the vector normal to it,
and 2 unit vectors perpendicular to the normal vector
return the plane equation as a 4 element vector of the
coordinates of the unit normal and the distance from the origin
extend the inherited setshow method for the setting the visiblity of
the normal vector extended to the plane
Methods defined in Element
make all objects iterable, returning "self" in the simplest instance
length of the iterable assocaited with the object
method that is called on change events, calling reoutines to find current
position based on dependecies, current visibility status, etc.
the function called to recalculate an objects postion at a change event,
to be overridden in subclasses
test whether any Elements on which there is a dependency
have become 'null', i.e. not calculatable - .e.g, imaginary when
working within real space
toggle the 'null' flag, indicating whether the current postion of the
object's position is visible - e.g. is real when working in real space
f
_setnull(self, to_null=True)
...
set object and the objects dependant on it to 'null' when
its position cannot be made visible- e.g. imaginary when working in real
space.
method to be overridden for objects needing an supplementary initiliazation routine after
the call to __init___
Routine to return Element to intial position.
Default is to run update routine
method to be overridden to erase loci of objects that are traceable
method to be overridden to erase curves traced by point objects
Methods defined in drawPlane
send current position of defining plane attributes - the unit normal and distance
from the origin - to the frame encompassing the drawing primtives
the plane object is represented either by a thin box object or as a mesh of lines -
taking advantage of the cvisual frame object, assigning the drawing primitives to one
frame, so that further manipulation is of the frame, not the primtives themselves
export the scene's planes to PovRay SDL
Attributes
['color',
'initcolor',
'trace',
'level',
'texture',
'extend',
'povout',
'label',
'append',
'export',
'style',
'linewidth',
'scale',
'show_normal',
'normal_width',
'grid_scale']
See
the source
for more information.