Represents a line annotation. More...
#include <AnnLine.h>
Public Member Functions | |
AnnLine (const Quantity &xPoint1, const Quantity &yPoint1, const Quantity &xPoint2, const Quantity &yPoint2, const String &dirRefFrameString, const CoordinateSystem &csys, const Quantity &beginFreq, const Quantity &endFreq, const String &freqRefFrame, const String &dopplerString, const Quantity &restfreq, const Vector< Stokes::StokesTypes > &stokes) | |
AnnLine (const Quantity &xPoint1, const Quantity &yPoint1, const Quantity &xPoint2, const Quantity &yPoint2, const CoordinateSystem &csys, const Vector< Stokes::StokesTypes > &stokes) | |
simplified constructor. | |
AnnLine & | operator= (const AnnLine &other) |
implicit copy constructor and destructor are fine | |
Vector< MDirection > | getEndPoints () const |
get the end point directions, transformed to the input coordinate system if necessary | |
virtual ostream & | print (ostream &os) const |
Protected Attributes | |
AnnotationBase::Direction | _inputPoints |
Represents a line annotation.
Public interface
Represents an ascii line annotation
Definition at line 50 of file AnnLine.h.
casa::AnnLine::AnnLine | ( | const Quantity & | xPoint1, | |
const Quantity & | yPoint1, | |||
const Quantity & | xPoint2, | |||
const Quantity & | yPoint2, | |||
const String & | dirRefFrameString, | |||
const CoordinateSystem & | csys, | |||
const Quantity & | beginFreq, | |||
const Quantity & | endFreq, | |||
const String & | freqRefFrame, | |||
const String & | dopplerString, | |||
const Quantity & | restfreq, | |||
const Vector< Stokes::StokesTypes > & | stokes | |||
) |
casa::AnnLine::AnnLine | ( | const Quantity & | xPoint1, | |
const Quantity & | yPoint1, | |||
const Quantity & | xPoint2, | |||
const Quantity & | yPoint2, | |||
const CoordinateSystem & | csys, | |||
const Vector< Stokes::StokesTypes > & | stokes | |||
) |
simplified constructor.
Direction quantities must be in the same reference frame as csys
and all frequencies are valid.
Vector<MDirection> casa::AnnLine::getEndPoints | ( | ) | const |
get the end point directions, transformed to the input coordinate system if necessary
implicit copy constructor and destructor are fine
Reimplemented from casa::AnnotationBase.
virtual ostream& casa::AnnLine::print | ( | ostream & | os | ) | const [virtual] |
Implements casa::AnnotationBase.
AnnotationBase::Direction casa::AnnLine::_inputPoints [protected] |