Class TransformedSource

Inheritance Relationships

Base Type

Class Documentation

class TransformedSource : public pcms::PointEvaluatorFactory

Presents a point-evaluator factory as one in another coordinate system: query points are mapped into the source’s system and evaluated components are re-expressed at the query points.

Public Functions

TransformedSource(std::shared_ptr<const PointEvaluatorFactory> source, std::shared_ptr<const CoordinateMap> to_source)
Parameters:
  • source – factory whose evaluators do the evaluation; co-owned, so nesting requires the outer view to hold a shared_ptr to the inner

  • to_source – map from this object’s coordinate system to source’s

inline virtual const std::shared_ptr<const CoordinateSystem> &GetCoordinateSystem() const override

Coordinate system that query points handed to CreatePointEvaluator must be expressed in.

Protected Functions

virtual PointEvaluatorVariant CreatePointEvaluatorImpl(Type value_type, const EvaluationRequest &request) const override