28 #ifndef SCIMATH_GEOMETRY_H 29 #define SCIMATH_GEOMETRY_H 31 #include <casacore/casa/aips.h> 32 #include <casacore/casa/Quanta/Quantum.h> 67 static std::pair<Double, Double>
rotate2D(
static std::pair< Double, Double > rotate2D(Double x, Double y, const Quantity &theta)
Get result of rotating a 2-D vector counterclockwise through an angle theta.
static Bool doLineSegmentsIntersect(Double a0x, Double a0y, Double a1x, Double a1y, Double b0x, Double b0y, Double b1x, Double b1y)
Determine if two coplanar line segments, a and b, intersect.
Geometry related methods.
bool Bool
Define the standard types used by Casacore.
this file contains all the compiler specific defines