22 #ifndef ASTSHIM_BASE_H 23 #define ASTSHIM_BASE_H 42 using Array2D = ndarray::Array<double, 2, 2>;
108 void assertOK(AstObject *rawPtr1 =
nullptr, AstObject *rawPtr2 =
nullptr);
142 int ret = astEscapes(include);
ndarray::Array< const double, 2, 2 > ConstArray2D
2D array of const double; typically used for lists of const points
ndarray::Array< double, 2, 2 > Array2D
2D array of const double; typically used for lists of const points
AST wrapper classes and functions.
void assertOK(AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
Throw std::runtime_error if AST's state is bad.
bool escapes(int include=-1)
Control whether graphical escape sequences are included in strings.
DataType
Data types held by a KeyMap.
ConstArray2D arrayFromVector(std::vector< double > const &vec, int nAxes)
Reshape a vector as a 2-dimensional array that shares the same memory.