Source
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
namespace casa {
// <summary>
// This class represents an annotation for a circular (in position coordinates) region specified
// in an ascii region file as proposed in CAS-2285. It is specified by its center position
// and radius.
// </summary>
// <author>Dave Mehringer</author>
// <use visibility=export>
// <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
// </reviewed>
// <prerequisite>
// </prerequisite>
// <etymology>
// Holds the specification of an annotation of a circular region as specified in ASCII format.
// Specified by center position and radius.
// </etymology>
// <synopsis>
// This class represents an annotation of a circular region in coordinate space specified by
// center and radius. Note that this represents a world coordinate region, even if the input
// radius is in pixels. If the direction coordinate does not have square pixels, then
// AnnEllipse should be used instead.
// </synopsis>
class AnnCircle: public AnnRegion {
public:
AnnCircle(
const casacore::Quantity& xcenter,
const casacore::Quantity& ycneter,
const casacore::Quantity& radius,
const casacore::String& dirRefFrameString,
const casacore::CoordinateSystem& csys,
const casacore::IPosition& imShape,
const casacore::Quantity& beginFreq,
const casacore::Quantity& endFreq,
const casacore::String& freqRefFrameString,