Print out details about a region.
regPrintRegion( Region_Type Region )
The regPrintRegion routine prints the various shapes and
components within a region to the screen (i.e. to stdout).
chips> require("region")
chips> reg = regParse("circle(10,10,4)")
chips> print(reg)
Region_Type
chips> regPrintRegion(reg)
1 Circle(10.000000, 10.000000, 4.000000) (Pos: pixel, Size: pixel)
chips> reg = regParse("circle(10,10,4)-rect(4,2,5,4)")
chips> regPrintRegion(reg)
1 Circle(10.000000, 10.000000, 4.000000) (Pos: pixel, Size: pixel)
1 !Rectangle(4.000000, 2.000000, 5.000000, 4.000000) (Pos: pixel, Size:
pixel)
The regRegionString() function, added in CIAO 3.2, can also be used to provide information on the shape of the region.
|