PyGeo: a dynamic geometry toolkit

CPosition

The pypy complex object code, made mutable by removing the properties declarations for real and imag, and with additional attributes and methods used by Pygeo

Methods defined in CPosition

f _init(self, re, im) ...

f __getitem__(self, index) ...

f get_name(self) ...

f set_x(self, value) ...

f set_y(self, value) ...

f get_x(self) ...

f get_y(self) ...

f get_z(self) ...

f get_pos(self) ...

f _CPosition__description(self, precision) ...

f __radd__(self, other) ...

f __add__(self, other) ...

f __sub__(self, other) ...

f __rsub__(self, other) ...

f __rmul__(self, other) ...

f __mul__(self, other) ...

f __truediv__(self, other) ...

f __div__(self, other) ...

f __rtruediv__(self, other) ...

f __rdiv__(self, other) ...

f __floordiv__(self, other) ...

f __rfloordiv__(self, other) ...

f __mod__(self, other) ...

f __rmod__(self, other) ...

f __divmod__(self, other) ...

f __rdivmod__(self, other) ...

f __pow__(self, other, mod=None) ...

f __rpow__(self, other, mod=None) ...

f __neg__(self) ...

f __pos__(self) ...

f __abs__(self) ...

f __coerce__(self, other) ...

f __eq__(self, other) ...

f __ne__(self, other) ...

f __lt__(self, other) ...

f __gt__(self, other) ...

f __le__(self, other) ...

f __ge__(self, other) ...

f __int__(self) ...

f __long__(self) ...

f arg(self) ...

f mod2(self) ...

f mod(self) ...

f distance(self, other) ...

f distanceSquared(self, other) ...

f set(self, other) ...

Attributes

a pos

The 3 (z=0) coordinate drawing position vector

a PREC_STR

12

a __slots__

['real', 'imag']

a x

The real coordinate

a real

<member 'real' of 'CPosition' objects>

a imag

<member 'imag' of 'CPosition' objects>

a y

The imag coordinate

a z

The complex plane z position

See the source for more information.