33 r.head<3>() = _core->getParameterVector();
34 r.tail<2>() = _center.
asEigen();
39 _core->setParameterVector(vector.head<3>());
44 _core->readParameters(iter);
45 _center.setX(iter[3]);
46 _center.setY(iter[4]);
50 _core->writeParameters(iter);
51 iter[3] = _center.getX();
52 iter[4] = _center.getY();
afw::table::PointKey< int > dimensions
lsst::geom::Point2D const & getCenter() const
Return the center point.
A floating-point coordinate rectangle geometry.
BaseCore const & getCore() const
Return the ellipse core.
Eigen::Matrix< double, 5, 1 > ParameterVector
Proxy return type for Ellipse::convolve().
Ellipse & operator=(Ellipse const &other)
Set the parameters of this ellipse from another.
lsst::geom::Extent2D computeDimensions() const
Return the size of the bounding box for the ellipse core.
Point< double, 2 > Point2D
void readParameters(double const *iter)
A base class for image defects.
An ellipse defined by an arbitrary BaseCore and a center point.
lsst::geom::Box2D computeBBox() const
Return the bounding box of the ellipse.
void setParameterVector(ParameterVector const &vector)
Set the ellipse parameters from a vector.
EigenVector const & asEigen() const noexcept(IS_ELEMENT_NOTHROW_COPYABLE)
Return a fixed-size Eigen representation of the coordinate object.
ItemVariant const * other
void writeParameters(double *iter) const
ParameterVector const getParameterVector() const
Return the ellipse parameters as a vector.