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.round() # from None >>> cga.round(2) # from dim of space >>> cga.round(e1, e2, -e1) # from points >>> cga.round(cga.flat().mv) # from existing multivector
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. |