29 #ifndef IMAGES_WCPOLYGON_H
30 #define IMAGES_WCPOLYGON_H
A Vector of integers, for indexing into Array<T> objects.
virtual Bool canExtend() const
WCPolygon cannot extend a region.
virtual String type() const
Return region type.
virtual TableRecord toRecord(const String &tableName) const
Convert the WCPolygon object to a record.
virtual Bool operator==(const WCRegion &other) const
Comparison.
static String className()
Returns "WCPolygon".
virtual LCRegion * doToLCRegion(const CoordinateSystem &cSys, const IPosition &latticeShape, const IPosition &pixelAxesMap, const IPosition &outOrder) const
Convert to an LCRegion using the given coordinate system.
AbsRelType
Define if a region is absolute or relative.
static WCPolygon * fromRecord(const TableRecord &rec, const String &tableName)
Convert to a WCPolygon from a record.
virtual ~WCPolygon()
Destructor.
Quantum< Vector< Double > > itsY
virtual WCRegion * cloneRegion() const
Clone a WCPolygon object.
RegionType::AbsRelType itsAbsRel
bool Bool
Define the standard types used by Casacore.
Quantities (i.e. dimensioned values)
A hierarchical collection of named fields of various types.
WCPolygon & operator=(const WCPolygon &other)
Assignment (copy semantics)
Quantum< Vector< Double > > itsX
Base class to define world coordinate regions of interest in an image.
String: the storage and methods of handling collections of characters.
Class to define a 2-D polygonal world coordinate region in an image.
Interconvert pixel and world coordinates.
Define a 2-dimensional region by a polygon.
Abstract base class to define a region of interest in lattice coordinates.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.