28 #ifndef SCIMATH_GEOMETRY_H
29 #define SCIMATH_GEOMETRY_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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.