PyGeo: a dynamic geometry toolkit

uCircleFromNormal

spheric section of the Riemann sphere cut by the plane at the initial point argument and normal to the direction determined by the given 2 point

constructors:
uCircleFromNormal (point1,point2 )
uCircle (point1,point2 )
conditions:
normal plane cuts unit sphere
else:
None

inherits

_uCircle

Methods defined in uCircleFromNormal

f __init__(self, p1, p2) ...

f findSelf(self) ...

Methods defined in _Circle

f rmatrix(self) ...

return a 4x4 matrix representing the circle's plane and its center

f equat(self) ...

return the plane equation as a 4 element vector of the coordinates of the unit normal and the distance from the origin

f set_uds_fromPoints(self) ...

set defining attributes of the circle's plane from 3 points on the plane

f set_s_from_u(self, u) ...

set a unit vector perpendicular to the plane's normal vector

f transform(self, mat, obj) ...

transform the circle as the transoformation of an array of points on the circles circumference

f draw(self) ...

override the _Plane _draw method

f _redraw(self) ...

override the _Plane _redraw method

f povout(self, buf) ...

override the _Plane povout method

Methods defined in _Plane

f parameters(self) ...

return the point on the plane on the vector normal to it, and 2 unit vectors perpendicular to the normal vector

f setshow(self) ...

extend the inherited setshow method for the setting the visiblity of the normal vector extended to the plane

Methods defined in Element

f __iter__(self) ...

make all objects iterable, returning "self" in the simplest instance

f __len__(self) ...

length of the iterable assocaited with the object

f update(self) ...

method that is called on change events, calling reoutines to find current position based on dependecies, current visibility status, etc.

f _allreal(self) ...

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

f _togglenull(self) ...

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.

f init(self) ...

method to be overridden for objects needing an supplementary initiliazation routine after the call to __init___

f reset(self) ...

Routine to return Element to intial position. Default is to run update routine

f reset_trace(self) ...

method to be overridden to erase loci of objects that are traceable

f reset_trace_curves(self) ...

method to be overridden to erase curves traced by point objects

Attributes

a __opts__

['color',
 'initcolor',
 'trace',
 'level',
 'texture',
 'extend',
 'povout',
 'label',
 'append',
 'export',
 'style',
 'linewidth',
 'show_normal',
 'normal_width',
 'grid_scale',
 'precision',
 'fixed']

a __doc_hints__

{'args': ['point1,point2'],
 'conditions': ['normal plane cuts unit sphere'],
 'factory': 'uCircle',
 'otherwise': 'None'}

See the source for more information.