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 oforiginal
. It may be invertible; in general, linearizations are invertible if the Jacobian atinPoint
is 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 iforiginal
does not have a well-defined value and Jacobian atinPoint
Not exception safe.