Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | coordsys |
You can convert a Coordinate System to a record with this function. There is also fromrecord to set a Coordinate System from a record.
These functions are not for general user use; they are used for sending Coordsys tools about the Glish bus.
- cs := coordsys(direction=T, stokes="I Q") - rec := cs.torecord(); - cs2 := coordsys(); - cs2.fromrecord(rec); - - print cs.ncoordinates(), cs2.ncoordinates() 2 2