Last modified: February 2018

URL: https://cxc.cfa.harvard.edu/ciao/ahelp/regprintregion.html
AHELP for CIAO 4.16

regPrintRegion

Context: region

Synopsis

*DEPRECATED* Print out diagnostic details about a region.

Syntax

regPrintRegion(reg)

Description

The interfaces described in this help file have been deprecated. CIAO 4.10 includes a new object based interface which should be used instead of these routines. This document is provided for legacy support.

The regPrintRegion routine prints out diagnostic information about the region - such as the various shapes and components within a region - to stdout. The regRegionString function should be used if a valid region string is needed.

The region module is not available by default; see "ahelp region" for information on loading the module.


Examples

Example 1

>>> from region import *
>>> reg = regParse("circle(10,10,4)")
>>> regPrintRegion(reg)
1 Circle(10,10,4) (Flag_Coord: Unknown) (Flag_Radius: Unknown)

Example 2

>>> reg = regParse("circle(10,10,4)-rect(4,2,5,4)")
>>> regPrintRegion(reg)
1 Circle(10,10,4) (Flag_Coord: Unknown) (Flag_Radius: Unknown)
1 !Rectangle(4,2,5,4) (Flag_Coord: Unknown) (Flag_Radius: Unknown)

Changes in CIAO 4.8

The screen output of the command has changed.


Bugs

See the bugs page for the region library on the CIAO website for an up-to-date listing of known bugs.

Refer to the CIAO bug pages for an up-to-date listing of known issues.

See Also

region
regarea, regextent, reginsideregion, region, region-old, regparse, regprintregion, regregionstring