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 |
center of this round, as a null vector |
center_down |
center of this round, as a down-projected vector (in I_base) |
dim |
dimension of this round |
dual |
self.mv* self.layout.I |
radius |
radius of the round (a float) |
Methods
__init__ |
Initialize self. |
from_center_radius |
construct a round from center/radius |
inverted |
inverted version of this thing. |
involuted |
inverted version of this thing. |