Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: regionmanager.setselectcallback - Function Up: regionmanager - Tool Previous: regionmanager.quarter - Function


regionmanager.setcoordinates - Function



Package general
Module images
Tool regionmanager


Set new default Coordinate System


Synopsis
setcoordinates(csys, verbose)


Arguments

csys in Default Coordinate System for use in world regions
    Allowed: Coordinate tool
verbose in Issue message each time used
    Allowed: T or F
    Default: T



Returns
Bool


Description
This function allows you to (re)set the default Coordinate System used by the functions that make world regions. If you don't specifiy a Coordinate System when you make the world region, the default Coordinate System, if there is one, is used. The Coordinate System is stored in a coordinates tool and is created with the coordsys tool function.

Normally, the world region creating functions like wbox and wpolygon will issue a message each time the private Coordinate System is used. However, if you set verbose=F then this will not occur.



Example
- im := image('quiqui')
- cs := im.coordsys()
- drm.setcoordinates(cs)
- r1 := drm.wbox()
Using private CoordinateSystem from image "quiqui"





next up previous contents index
Next: regionmanager.setselectcallback - Function Up: regionmanager - Tool Previous: regionmanager.quarter - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01