PyGeo: a dynamic geometry toolkit

vdraw

drawing and graphics related routines to use as mixin classes with objects of real 3d space

Functions

f constrain_draw(pos) ...

for constraining the drawing position of points where largs values relative to the scene scale can cause display prblems. The option to turn off drawing constraints and the 'MAX' constant is by editing the pygeoopts.py file

Classes

C drawPoint(...) ...

drawing back-end for objects derived from the _Point class

C drawLine(...) ...

drawing back-end for objects derived from the _Line class

C drawPlane(...) ...

drawing back-end for objects derived from the _Plane class

C drawTriangle(...) ...

drawing back-end for objects derived from the _Triangle class

C drawCircle(...) ...

drawing back-end for objects derived from the _Circle class

C drawSphere(...) ...

drawing back-end for objects derived from the _Sphere class

C drawArray(...) ...

generalized drawing back-end for array objects, i.e. _LineArray, _CirclePencil ,etc.

C drawPointArray(...) ...

override the generalized array drawing back-end for _PointArrays, which can draw the curves connecting the arrays points, as well as the points themselves

Attributes

a PyGeoPrimtives

['frame',
 'sphere',
 'curve',
 'label',
 'convex',
 'arrow',
 'faces',
 'pyramid',
 'box',
 'wiresphere']

a divide

<ufunc 'divide'>

a DO_TESTS

True

a LINES

1

a EPS

0.0001

a arctan2

<ufunc 'arctan2'>

a hypot

<ufunc 'hypot'>

a conjugate

<ufunc 'conjugate'>

a tan

<ufunc 'tan'>

a absolute

<ufunc 'absolute'>

a sqrt

<ufunc 'sqrt'>

a arctan

<ufunc 'arctan'>

a add

<ufunc 'add'>

a PI

3.1415926535897931

a TEST_MAX

False

a map_id

0

a arcsin

<ufunc 'arcsin'>

a cos

<ufunc 'cos'>

a __url__

'URL: http://source.net/projects/pygeo'

a multiply

<ufunc 'multiply'>

a subtract

<ufunc 'subtract'>

a math_E

2.7182818284590451

a MAX

1000.0

a sin

<ufunc 'sin'>

a arccos

<ufunc 'arccos'>

a FILL

2

See the source for more information.