#include <imageanalysis/Annotations/AnnPolyline.h>
#include <images/Regions/WCPolygon.h>
using namespace casacore;
AnnPolyline::AnnPolyline(
const Vector<Quantity>& xPositions,
const Vector<Quantity>& yPositions,
const String& dirRefFrameString,
const CoordinateSystem& csys,
const IPosition& imShape,
const Quantity& beginFreq,
const String& freqRefFrameString,
const String& dopplerString,
const Quantity& restfreq,
const Vector<Stokes::StokesTypes> stokes,
const Bool annotationOnly,
const Bool requireImageRegion
POLYLINE, dirRefFrameString, csys, imShape, beginFreq,
endFreq, freqRefFrameString, dopplerString,
restfreq, stokes, annotationOnly, requireImageRegion
), _origXPos(xPositions), _origYPos(yPositions) {
AnnPolyline::AnnPolyline(
const Vector<Quantity>& xPositions,
const Vector<Quantity>& yPositions,
const CoordinateSystem& csys,
const IPosition& imShape,
const Vector<Stokes::StokesTypes>& stokes,
const Bool requireImageRegion
) : AnnRegion(POLYGON, csys, imShape, stokes, requireImageRegion),
_origXPos(xPositions), _origYPos(yPositions) {
AnnPolyline& AnnPolyline::operator= (