clifford.cga.Round¶
- class clifford.cga.Round(cga, *args)[source]¶
A point pair, circle, sphere or hyper-sphere.
Typically constructed as method of existing cga, like cga.round()
multivector is accessable by mv property
- Parameters
cga (CGA) – the cga object
args ([int, Multivector, Multivectors]) –
if nothing supplied, generate a round of highest dimension
int: dimension of flat (2=point pair, 3=circle, etc)
Multivector : can be * existing Multivector representing the round * vectors on the round
Examples
>>> cga = CGA(3) >>> locals().update(cga.blades) >>> cga.round() # from None Sphere >>> cga.round(2) # from dim of space Sphere >>> cga.round(e1, e2, -e1) # from points Circle >>> cga.round(cga.flat().mv) # from existing multivector Sphere
Attributes
center of this round, as a null vector |
|
center of this round, as a down-projected vector (in I_base) |
|
dimension of this round |
|
self.mv* self.layout.I |
|
radius of the round (a float) |
Methods
Initialize self. |
|
construct a round from center/radius |
|
inverted version of this thing. |
|
inverted version of this thing. |