A type that is used to describe (possibly dynamic) coordinates. Internally all coordinates are in $\RR^4$ (projective coordinates). Any GraphicsObject can be turned into a GraphicsCoordinate corresponding to the reference point $(0,0,0,1)$ in its local coordinate system. It can then be manipulated using various operations such as addition, multiplication by scalar, etc
i1 : a=gNode([0,0],Circle{Radius=>1}); b=gNode([1,1],Circle{Radius=>1}); mid=a+b
o3 = mid
o3 : GraphicsCoordinate
|
i4 : gList(a,b,Circle{mid,Radius=>1-1/sqrt 2})
o4 = GraphicsList{cache => CacheTable{} }
Contents => {a, b, Circle{cache => CacheTable{} }}
Center => mid
Radius => .292893
style => MutableHashTable{}
style => MutableHashTable{}
o4 : GraphicsList
|
The object GraphicsCoordinate is a type, with ancestor classes GraphicsAncestor < HashTable < Thing.