Jump to content

Robust geometric computation

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CptViraj (talk | contribs) at 08:42, 27 October 2019 (Requesting speedy deletion (CSD G13).). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Geometric objects on a digital computer are composed of two types of data: numerical and combinatorial. Examples of numerical data include the Cartesian coordinates of a point in 3-space, the length of a line segment connecting two such points, or the angle between two such line segments. Examples of combinatorial information include grouping two points as an edge, grouping a collection of edges as a face, or grouping a collection of faces as a surface.

Geometric algorithms that operate on geometric objects are best thought of as two types[1] of operations: predicates and constructions. Predicates determine relationships between objects. A predicate might determine if a point is to the left, right, or is collinear with a line segment, determine if a point is inside, outside, or on a circle, or determine if a line intersects a plane in one, none, or infinitely many points. Constructions produce new geometric objects from existing geometric objects. A construction might produce the rotation of a point around an origin, produce the point of intersection between two line segments, or produce an offset of an algebraic curve.

Geometric algorithms are typically designed and analyzed using the Real-RAM model of computation[2]. In other words[2], these algorithms assume that the numerical data in geometric objects are exact values in that can be stored and retrieved in constant time, and that arithmetic involving these values is performed in constant time.

Geometric nonrobustness results from this unfortunate disconnect between continuous theoretical formulations and the reality of discrete machine implementation. In most instances, the numerical data composing geometric objects is an approximation to a real value. Predicates that assume exact values but are fed approximate values are liable to make incorrect determinations. Constructions compound the situation by taking exact values and producing approximate ones, or by taking approximate values and producing even coarser approximations. In short, geometric nonrobustness is a problem wherein branching decisions in geometric algorithms are predicated on approximate numerical computations, leading to various forms of unreliability including ill-formed output and software failure through crashing or infinite loops.

References

  1. ^ Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. (2001). Introduction to algorithms.
  2. ^ a b De Berg, M., Van Kreveld, M., Overmars, M., & Schwarzkopf, O. C. (2000). Computational geometry. Computational Geometry, 1–17.