Skip to the navigation links
Last modified: December 2009

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/regregionstring.html
AHELP for CIAO 4.2

regRegionString

Context: region

Synopsis

Print out details about a region.

Syntax

String_Type regRegionString( Region_Type Region )

Description

The regRegionString returns a string representation of the region.

The region module is not available by default; to use it in a S-Lang program, it must be loaded using the S-Lang require() function:

  require("region");

Example 1

slsh> require("region");
slsh> reg = regParse("circle(10,10,4)");
slsh> regRegionString(reg);
Circle(10,10,4)

Example 2

slsh> reg = regParse("circle(10,10,4)-rect(4,2,5,4)");
slsh> regRegionString(reg);
Circle(10,10,4)&!Rectangle(4,2,5,4)

Bugs

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

See Also

modules
region
region
regarea, regextent, reginsideregion, regparse, regprintregion, regregionstring

Last modified: December 2009