Viewer
The object in SemiAlgebraicTypes can be vizualized, using Axl. They are printed in a file tmp.axl and Axl is then run on this view file.
@axl startInitialize the view file.
@axl mAdd the object
mto the viewfile.
@axl viewOpen
Axlfor visualization of the data in the view file.
@axlviewThis is equivalent to
@axl view.
@axlview mSave the object m in the viewfile and visualize it
Example
@axl start
A = point(0.,0.5,0.)
B = point(0.,1.5,0.)
C = point(0.,3.5,0.)
@axl c0 = cylinder(A,B,0.2, color=Color(255,0,0))
@axl c1 = cone(C,B,0.7, color=Color(0,255,0))
@axl view
@axlview c0, sphere(A,0.5)