casa::AnnLine Class Reference

Represents a line annotation. More...

#include <AnnLine.h>

Inheritance diagram for casa::AnnLine:
casa::AnnotationBase

List of all members.

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.
AnnLineoperator= (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

Detailed Description

Represents a line annotation.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Synopsis

Represents an ascii line annotation

Definition at line 50 of file AnnLine.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Vector<MDirection> casa::AnnLine::getEndPoints (  )  const

get the end point directions, transformed to the input coordinate system if necessary

AnnLine& casa::AnnLine::operator= ( const AnnLine other  ) 

implicit copy constructor and destructor are fine

Reimplemented from casa::AnnotationBase.

virtual ostream& casa::AnnLine::print ( ostream &  os  )  const [virtual]

Implements casa::AnnotationBase.


Member Data Documentation

AnnotationBase::Direction casa::AnnLine::_inputPoints [protected]

Definition at line 90 of file AnnLine.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1