24 #ifndef LSST_AFW_GEOM_TRANSFORM_H
25 #define LSST_AFW_GEOM_TRANSFORM_H
63 template <
class FromEndpo
int,
class ToEndpo
int>
68 using ToArray =
typename ToEndpoint::Array;
69 using ToPoint =
typename ToEndpoint::Point;
86 explicit Transform(ast::Mapping
const &mapping,
bool simplify =
true);
108 explicit Transform(ast::FrameSet
const &frameSet,
bool simplify =
true);
134 std::shared_ptr<const ast::FrameSet>
getFrameSet()
const {
return _frameSet; }
218 template <
class NextToEndpo
int>
227 explicit Transform(std::shared_ptr<ast::FrameSet> &&frameSet);
230 FromEndpoint _fromEndpoint;
231 std::shared_ptr<const ast::FrameSet> _frameSet;
232 ToEndpoint _toEndpoint;
242 template <
class FromEndpo
int,
class ToEndpo
int>
243 std::ostream &operator<<(std::ostream &os, Transform<FromEndpoint, ToEndpoint>
const &transform);