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¶
|
A line, plane, or hyperplane. |
|
A point pair, circle, sphere or hyper-sphere. |
Operators¶
|
A Rotation |
|
A global dilation |
|
A Translation |
|
A Transversion |