Subject 6.03: Where do I get source for halfspace intersection?
For n-d halfspace intersection, try Fukuda’s cdd program or Barber and Huhdanpaa’s Qhull program. Both use floating point arithmetic. Fukuda includes code for exact arithmetic. Qhull handles numeric precision problems by merging facets. Qhull computes halfspace intersection by computing a convex hull. The intersection of halfspaces about the origin is equivalent to the convex hull of the halfspace coefficients divided by their offsets. References: Barber & http://www.geom.umn.edu/locate/qhull Huhdanpaa ftp://geom.umn.edu/pub/software/qhull.tar.Z Fukuda: ftp://ifor13.ethz.ch/pub/fukuda/cdd/ [Preparata & Shamos] pp.