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.namesintable - Function Up: regionmanager - Tool Previous: regionmanager.ispixelregion - Function


regionmanager.isworldregion - Function



Package general
Module images
Tool regionmanager


Is this region a world region ?


Synopsis
isworldregion(region)


Arguments

region in The region
    Allowed: Region tool


Returns
Bool



Description

This function returns T if the region is a world region. For any other Glish variable it returns F.



Example
- im := image('hcn')
- cs := im.coordsys()
- r1 := drm.box()                   # A pixel region
- r2 := drm.wbox(csys=cs)           # A world region
- drm.isworldregion(r1)
F
- drm.isworldregion(r2)
T
- x := [20,30]
- drm.isworldregion(x)
F





next up previous contents index
Next: regionmanager.namesintable - Function Up: regionmanager - Tool Previous: regionmanager.ispixelregion - 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