25 #ifndef LSST_AFW_GEOM_ELLIPSES_Ellipse_h_INCLUDED
26 #define LSST_AFW_GEOM_ELLIPSES_Ellipse_h_INCLUDED
40 namespace lsst {
namespace afw {
namespace geom {
namespace ellipses {
60 typedef boost::shared_ptr<Ellipse>
Ptr;
61 typedef boost::shared_ptr<Ellipse const>
ConstPtr;
174 Ellipse(Transformer
const & other);
175 Ellipse(Convolution
const & other);
188 #endif // !LSST_AFW_GEOM_ELLIPSES_Ellipse_h_INCLUDED
bool operator!=(Ellipse const &other) const
Compare two ellipses for inequality.
boost::shared_ptr< BaseCore > Ptr
BaseCore::ConstPtr getCorePtr() const
Return the ellipse core.
void scale(double factor)
Scale the size of the ellipse by the given factor.
BaseCore & getCore()
Return the ellipse core.
Ellipse & operator=(Ellipse const &other)
Set the parameters of this ellipse from another.
bool operator==(Ellipse const &other) const
Compare two ellipses for equality.
BaseCore::Ptr getCorePtr()
Return the ellipse core.
Point< double, 2 > Point2D
Point2D const & getCenter() const
Return the center point.
Eigen::Matrix< double, 5, 1 > ParameterVector
Proxy return type for Ellipse::convolve().
boost::shared_ptr< BaseCore const > ConstPtr
Box2D computeBBox() const
Return the bounding box of the ellipse.
Ellipse(BaseCore const &core, Point2D const ¢er=Point2D())
void normalize()
Put the parameters in a standard form.
void readParameters(double const *iter)
Transformer transform(AffineTransform const &transform)
ParameterVector const getParameterVector() const
Return the ellipse parameters as a vector.
Forward declarations, typedefs, and definitions for BaseCore.
void setCore(BaseCore const &core)
Set the ellipse core; the type of the core is not changed.
An ellipse defined by an arbitrary BaseCore and a center point.
void setCenter(Point2D const ¢er)
Set the center point.
BaseCore const & getCore() const
Return the ellipse core.
void grow(double buffer)
Increase the major and minor radii of the ellipse by the given buffer.
Ellipse(Ellipse const &other)
A base class for parametrizations of the "core" of an ellipse - the ellipticity and size...
void shift(Extent2D const &offset)
Move the ellipse center by the given offset.
void setParameterVector(ParameterVector const &vector)
Set the ellipse parameters from a vector.
GridTransform const getGridTransform() const
Return the transform that maps the ellipse to the unit circle.
A temporary-only expression object for ellipse convolution.
Point2D & getCenter()
Return the center point.
Ellipse(BaseCore::ConstPtr const &core, Point2D const ¢er=Point2D())
A floating-point coordinate rectangle geometry.
boost::shared_ptr< Ellipse > Ptr
boost::shared_ptr< Ellipse const > ConstPtr
void writeParameters(double *iter) const
Convolution convolve(Ellipse const &other)