Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | regionmanager |
region | in | The region | |
Allowed: | Region tool |
This function returns T if the region is a world region. For any other Glish variable it returns F.
- 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