Class Ellipse::Transformer

Nested Relationships

This class is a nested type of Class Ellipse.

Class Documentation

class Transformer

A temporary-only expression object for ellipse transformations.

Transformer simply provides a clean syntax for transform-related operations, including in-place and new-object transformations, derivatives of the transformations, and implicit conversion to an auto_ptr to a new transformed ellipse.

Public Types

typedef Eigen::Matrix<double, 5, 5> DerivativeMatrix

Matrix type for derivative with respect to input ellipse parameters.

typedef Eigen::Matrix<double, 5, 6> TransformDerivativeMatrix

Matrix type for derivative with respect to transform parameters.

Public Functions

Transformer(Ellipse &input_, lsst::geom::AffineTransform const &transform_)

Standard constructor.

std::shared_ptr<Ellipse> copy() const

Return a new transformed ellipse.

void inPlace()

Transform the ellipse in-place.

void apply(Ellipse &other) const
DerivativeMatrix d() const

Return the derivative of transform output ellipse with respect to input ellipse.

TransformDerivativeMatrix dTransform() const

Return the derivative of transform output ellipse with respect to transform parameters.

Public Members

Ellipse &input

input ellipse to be transformed

lsst::geom::AffineTransform const &transform

transform object