Double Precision Geometry: A General Technique for Calculating Line and Segment Intersections Using Rounded Arithmetic
نویسنده
چکیده
We show for the rst time how to reduce the cost of performing speciic geometric constructions by using rounded arithmetic instead of exact arithmetic. Exploiting a property of oating point arithmetic called monotonicity, a new technique, double precision geometry, can replace exact arithmetic with rounded arithmetic in any eecient algorithm for computing the set of intersections of a set of lines or line segments. This technique reduces the complexity of any such line or segment arrangement algorithm by a constant factor. In addition, double precision geometry reduces by a factor of N the complexity of rendering segment arrangements on a 2 N by 2 N integer grid such that output segments have grid points as endpoints. 1 Introduction The theory of computational geometry provides us with a large number of useful geometric algorithms. However, it is not easy to create eecient and reliable programs from these algorithms because they are either based on innnite precision arithmetic or the precision required is not explicitly stated. The standard practice among developers of geometric programs is to use nite precision oating point arithmetic as if it were innnite precision real arithmetic. Unfortunately, geometric programs are particularly sensitive to numerical errors because of they way they closely couple symbolic and numerical data. The common experience is that all oating point geometric programs fail on a small subset of their inputs and that these failures are diicult to analyze or avoid. There is clearly a practical need for a theory of robust geometric algorithms, algorithms which can be safely implemented with rounded nite precision arithmetic. This paper describes part of such a theory and its expected payoo, robust approximate geometric algorithms with faster running times than the best exact versions. A theory of robust geometry requires an understanding of the precision requirements of exact algorithms: the num
منابع مشابه
On the Precision to Sort Line-Quadric Intersections
To support exactly tracking a neutron moving along a given line segment through a CAD model with quadric surfaces, this paper considers the arithmetic precision required to compute the order of intersection points of two quadrics along the line segment. When the orders of all but one pair of intersections are known, we show that a resultant can resolve the order of the remaining pair using only...
متن کاملEfficient and reliable methods for rounded-interval arithmetic
We present an efficient and reliable method for computing the unit–in–the–last–place (ulp) of a double precision floating–point number, taking advantage of the standard binary representation for floating– point numbers defined by IEEE Std 754–1985. The ulp is necessary to perform software rounding for robust rounded interval arithmetic (RIA) operations. Hardware rounding, using two of the stand...
متن کاملRobust Geometric Computations for Vision and Robotics
A new technique, the hidden variable method, is described for the creation of robust geometric algorithms: algorithms which can be implemented with absolute reliability using rounded nite precision arithmetic. The speciic application given here is an algorithm for computing arrangements of line segments in two dimensions: determining how a set of line segments subdivides the plane into vertices...
متن کاملRobust Evaluation of Differential Geometry Properties using Interval Arithmetic Techniques by Chih - kuo
This thesis presents a robust method for evaluating differential geometry properties of sculptured surfaces by using a validated ordinary differential equation (ODE) system solver based on interval arithmetic. Iso-contouring of curvature of a Bezier surface patch, computation of curvature lines of a Bezier surface patch and computation of geodesics of a Bezier surface patch are computed by the ...
متن کاملTowards Correctly Rounded Transcendentals
The Table Maker’s Dilemma is the problem of always getting correctly rounded results when computing the elementary functions. After a brief presentation of this problem, we present new developments that have helped us to solve this problem for the double-precision exponential function in a small domain. These new results show that this problem can be solved, at least for the double-precision fo...
متن کامل