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
inPointmatch those oforiginal. It may be invertible; in general, linearizations are invertible if the Jacobian atinPointis invertible.- Template Parameters
FromEndpointToEndpoint: The endpoints of the transform.
- Parameters
original: the Transform to linearizeinPoint: the point at which a linear approximation is desired
- Exceptions
pex::exceptions::InvalidParameterError: Thrown iforiginaldoes not have a well-defined value and Jacobian atinPointNot exception safe.