cga (clifford.cga)¶
Object Oriented Conformal Geometric Algebra.
Examples
>>> from clifford import Cl
>>> from clifford.cga import CGA
>>> g3,blades = Cl(3)
>>> g3c = CGA(g3)
>>> C = g3c.round(3) # create random sphere
>>> T = g3c.translation(e1+e2) # create translation
>>> C_ = T(C) # translate the sphere
>>> C_.center # compute center of sphere
Objects¶
Flat(cga, *args) |
A line, plane, or hyperplane. |
Round(cga, *args) |
A point pair, circle, sphere or hyper-sphere. |
Operators¶
Rotation(cga, *args) |
A Rotation |
Dilation(cga, *args) |
A global dilation |
Translation(cga, *args) |
A Translation |
Transversion(cga, *args) |
A Transversion |