SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
NormalizedConverter.h
Go to the documentation of this file.
1
22
23#ifndef MODELFITTING_NORMALIZEDCONVERTER_H
24#define MODELFITTING_NORMALIZEDCONVERTER_H
25
27
28namespace ModelFitting {
29
37
38public:
39
46 explicit NormalizedConverter(double norm_value);
47
50
63 double worldToEngine(const double world_value) const override;
64
77 double engineToWorld(const double engine_value) const override;
78
79 double getEngineToWorldDerivative(const double value) const override;
80
81
82private:
83
85
86}; // end of class NormalizedConverter
87
88} // end of namespace ModelFitting
89
90#endif /* MODELFITTING_NORMALIZEDCONVERTER_H */
91
The coordinate converter interface.
NormalizedConverter(double norm_value)
Constructs a new instance of NormalizedConverter.
double worldToEngine(const double world_value) const override
Returns the engine value for the given world value.
virtual ~NormalizedConverter()
Destructor.
double engineToWorld(const double engine_value) const override
Returns the world value for the given engine value.
double getEngineToWorldDerivative(const double value) const override