lsst.afw
20.0.0-18-gcabc0c9fd+109ac6652c
|
Go to the documentation of this file.
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();
61 _center =
other.getCenter();
62 *_core =
other.getCore();
Eigen::Matrix< double, 5, 1 > ParameterVector
Proxy return type for Ellipse::convolve().
lsst::geom::Box2D computeBBox() const
Return the bounding box of the ellipse.
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
lsst::geom::Point2D const & getCenter() const
Return the center point.
ItemVariant const * other
afw::table::PointKey< int > dimensions
void readParameters(double const *iter)
A base class for image defects.
void writeParameters(double *iter) const
An ellipse defined by an arbitrary BaseCore and a center point.
void setParameterVector(ParameterVector const &vector)
Set the ellipse parameters from a vector.
BaseCore const & getCore() const
Return the ellipse core.
ParameterVector const getParameterVector() const
Return the ellipse parameters as a vector.