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>
228 explicit Transform(std::shared_ptr<ast::FrameSet> &&frameSet);
231 FromEndpoint _fromEndpoint;
232 std::shared_ptr<const ast::FrameSet> _frameSet;
233 ToEndpoint _toEndpoint;
243 template <
class FromEndpo
int,
class ToEndpo
int>
244 std::ostream &operator<<(std::ostream &os, Transform<FromEndpoint, ToEndpoint>
const &transform);