Template definition for testintersection queries (TIQuery) and
findintersection queries (FIQuery). Intersection queries for two
intervals (1dimensional query).

Linearlinear intersection queries: lineline, lineray, linesegment,
rayray, raysegment, segmentsegment

Linearplanar intersection queries: line, ray, or segment versus
alignedbox, orientedbox, triangle, circle, or circular arc;
circlecircle, circlearc, arcarc

Planarplanar intersection queries: alignedboxalignedbox,
alignedboxorientedbox, orientedboxorientedbox, orientedboxcircle,
ellipseellipse, disksolidsector, orientedboxsolidsector, halfspacepolygon
