22 #ifndef ASTSHIM_UNITNORMMAP_H 23 #define ASTSHIM_UNITNORMMAP_H 67 :
Mapping(reinterpret_cast<AstMapping *>(
68 astUnitNormMap(centre.size(), centre.
data(),
"%s",
options.c_str()))) {
87 return copyImpl<UnitNormMap, AstUnitNormMap>();
94 os <<
"this is a " <<
getClassName() <<
", which is not a UnitNormMap";
AstObject const * getRawPtr() const
Get the raw AST pointer.
AST wrapper classes and functions.
std::string getClassName() const
Get Class: the name of the class (e.g.
void assertOK(AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
Throw std::runtime_error if AST's state is bad.
An abstract base class for objects which transform one set of coordinates to another.
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
The forward transformation of a UnitNormMap subtracts the specified centre and then transforms the re...
T static_pointer_cast(T... args)
std::shared_ptr< UnitNormMap > copy() const
Return a deep copy of this object.
UnitNormMap(AstUnitNormMap *rawptr)
Construct a UnitNormMap from a raw AST pointer.
UnitNormMap & operator=(UnitNormMap const &)=delete
UnitNormMap(std::vector< double > const ¢re, std::string const &options="")
Construct a UnitNormMap.
Abstract base class for all AST objects.