PyGeo: a dynamic geometry toolkit

drawCircle

drawing back-end for objects derived from the _Circle class

Methods defined in drawCircle

f _redraw(self) ...

send current position of the circle's defining attributes - its center,radius, plane's unit normal, and plane's distance from origin - to render object, and render in accordance with style attribute

f draw(self) ...

the circle object is represented either by a convex polygon or as curve - we take 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

f povout(self, buf) ...

export the scene's triangles to PovRay SDL

See the source for more information.