casa
$Rev:20696$
|
Specialization of PlotShape for an ellipse. More...
#include <PlotShape.h>
Public Member Functions | |
PlotShapeEllipse () | |
Constructor. | |
virtual | ~PlotShapeEllipse () |
Destructor. | |
virtual void | setEllipseCoordinates (const PlotCoordinate ¢er, 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 ¢er)=0 |
Sets the center to the given. |
Specialization of PlotShape for an ellipse.
Getting/setting coordinates MUST be in the order: [center, radii].
Definition at line 143 of file PlotShape.h.
casa::PlotShapeEllipse::PlotShapeEllipse | ( | ) | [inline] |
Constructor.
Definition at line 146 of file PlotShape.h.
virtual casa::PlotShapeEllipse::~PlotShapeEllipse | ( | ) | [inline, virtual] |
Destructor.
Definition at line 149 of file PlotShape.h.
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.