Function lsst::afw::geom::linearizeTransform

Function Documentation

lsst::geom::AffineTransform lsst::afw::geom::linearizeTransform(TransformPoint2ToPoint2 const &original, lsst::geom::Point2D const &inPoint)

Approximate a Transform by its local linearization.

Return

an lsst::geom::AffineTransform whose value and Jacobian at inPoint match those of original. It may be invertible; in general, linearizations are invertible if the Jacobian at inPoint is invertible.

Template Parameters
  • FromEndpointToEndpoint: The endpoints of the transform.

Parameters
  • original: the Transform to linearize

  • inPoint: the point at which a linear approximation is desired

Exceptions
  • pex::exceptions::InvalidParameterError: Thrown if original does not have a well-defined value and Jacobian at inPoint Not exception safe.