casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::PlotShapeEllipse Class Reference

Specialization of PlotShape for an ellipse. More...

#include <PlotShape.h>

Inheritance diagram for casa::PlotShapeEllipse:
casa::PlotShape casa::PlotItem

List of all members.

Public Member Functions

 PlotShapeEllipse ()
 Constructor.
virtual ~PlotShapeEllipse ()
 Destructor.
virtual void setEllipseCoordinates (const PlotCoordinate &center, const PlotCoordinate &radii)=0
 Sets the ellipse coordinates to the given.
virtual PlotCoordinate radii () const =0
 Returns the x- and y- radii as a PlotCoordinate.
virtual void setRadii (const PlotCoordinate &radii)=0
 Sets the x- and y- radii to the given.
virtual PlotCoordinate center () const =0
 Returns the center point.
virtual void setCenter (const PlotCoordinate &center)=0
 Sets the center to the given.

Detailed Description

Specialization of PlotShape for an ellipse.

Getting/setting coordinates MUST be in the order: [center, radii].

Definition at line 143 of file PlotShape.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 146 of file PlotShape.h.

virtual casa::PlotShapeEllipse::~PlotShapeEllipse ( ) [inline, virtual]

Destructor.

Definition at line 149 of file PlotShape.h.


Member Function Documentation

virtual PlotCoordinate casa::PlotShapeEllipse::center ( ) const [pure virtual]

Returns the center point.

virtual PlotCoordinate casa::PlotShapeEllipse::radii ( ) const [pure virtual]

Returns the x- and y- radii as a PlotCoordinate.

virtual void casa::PlotShapeEllipse::setCenter ( const PlotCoordinate &  center) [pure virtual]

Sets the center to the given.

virtual void casa::PlotShapeEllipse::setEllipseCoordinates ( const PlotCoordinate &  center,
const PlotCoordinate &  radii 
) [pure virtual]

Sets the ellipse coordinates to the given.

virtual void casa::PlotShapeEllipse::setRadii ( const PlotCoordinate &  radii) [pure virtual]

Sets the x- and y- radii to the given.


The documentation for this class was generated from the following file: