23#ifndef ASTSHIM_SPLINEMAP_H
24#define ASTSHIM_SPLINEMAP_H
78 :
Mapping(reinterpret_cast<AstMapping *>(
79 _makeRawSplineMap(kx, ky, nx, ny, tx, ty, cu, cv, options))) {}
Mapping(Mapping const &)=default
Copy constructor: make a deep copy.
std::shared_ptr< T > copyImpl() const
Implementation of deep copy.
double getD(std::string const &attrib) const
Get the value of an attribute as a double.
int getI(std::string const &attrib) const
Get the value of an attribute as an int.
~SplineMap() override=default
SplineMap & operator=(SplineMap const &)=delete
int getOutUnit() const
Get "OutUnit": Is the out-of-bounds position transform an identity map?
SplineMap & operator=(SplineMap &&)=default
double getInvTol() const
Get "InvTol": Get target relative error for iterative inverse.
SplineMap(SplineMap &&)=default
std::shared_ptr< SplineMap > copy() const
Return a deep copy of this object.
int getInvNiter() const
Get "InvNiter": Get maximum number of iterations for iterative inverse.
SplineMap(int kx, int ky, int nx, int ny, std::vector< double > const &tx, std::vector< double > const &ty, std::vector< double > const &cu, std::vector< double > const &cv, std::string const &options="")
Construct a SplineMap with the forward transform specified by the supplied b-splines and the inverse ...
SplineMap(SplineMap const &)=default
Copy constructor: make a deep copy.
std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
AST wrapper classes and functions.
T static_pointer_cast(T... args)