ArticleslgStudy

mathematics

Computational geometry

Computational geometry is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Computational geometry rather than just read about it. In short: Computational geometry is a branch of computer science devoted to the study of algorithms that can be stated in terms of geometry. Some purely geometrical problems arise out of the study of computational geometric algorithms, and such problems are also considered to be part of computational geometry.

Computational geometry — main illustration
Computational geometry — illustration

Key takeaways

  • Computational geometry belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Computational geometry to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Computational geometry from memory before moving on to harder problems.

Reference excerpt

Computational geometry is a branch of computer science devoted to the study of algorithms that can be stated in terms of geometry. Some purely geometrical problems arise out of the study of computational geometric algorithms, and such problems are also considered to be part of computational geometry. While modern computational geometry is a recent development, it is one of the oldest fields of computing with a history stretching back to antiquity. Computational complexity is central to computational geometry, with great practical significance if algorithms are used on very large datasets containing tens or hundreds of millions of points. For such sets, the difference between O(n2) and O(n log n) may be the difference between days and seconds of computation. The main impetus for the development of computational geometry as a discipline was progress in computer graphics and computer-aided design and manufacturing (CAD/CAM), but many problems in computational geometry are classical in nature, and may come from mathematical visualization. Other important applications of computational geometry include robotics (motion planning and visibility problems), geographic information systems (GIS) (geometrical location and search, route planning), integrated circuit design (IC geometry design and verification), computer-aided engineering (CAE) (mesh generation), and computer vision (3D reconstruction). The main branches of computational geometry are:

Combinatorial computational geometry, also called algorithmic geometry, which deals with geometric objects as discrete entities. A groundlaying book in the subject by Preparata and Shamos dates the first use of the term "computational geometry" in this sense by 1975. Numerical computational geometry, also called machine geometry, computer-aided geometric design (CAGD), or geometric modeling, which deals primarily with representing real-world objects in forms suitable for computer computations in CAD/CAM systems. This branch may be seen as a further development of descriptive geometry and is often considered a branch of computer graphics or CAD. The term "computational geometry" in this meaning has been in use since 1971. Although most algorithms of computational geometry have been developed (and are being developed) for electronic computers, some algorithms were developed for unconventional computers (e.g. optical computers)

Combinatorial computational geometry The primary goal of research in combinatorial computational geometry is to develop efficient algorithms and data structures for solving problems stated in terms of basic geometrical objects: points, line segments, polygons, polyhedra, etc. Some of these problems seem so simple that they were not regarded as problems at all until the advent of computers. Consider, for example, the closest pair problem:

Given n points in the plane, find the two with the smallest distance from each other. One could compute the distances between all the pairs of points, of which there are n(n − 1)/2, then pick the pair with the smallest distance. This brute-force algorithm takes O(n2) time; i.e. its execution time is proportional to the square of the number of points. A classic result in computational geometry was the formulation of an algorithm that takes O(n log n). Randomized algorithms that take O(n) expected time, as well as a deterministic algorithm that takes O(n log log n) time, have also been discovered.

Problem classes The core problems in computational geometry may be classified in different ways, according to various criteria. The following general classes may be distinguished.

Static problem In the problems of this category, some input is given and the corresponding output needs to be constructed or found. Some fundamental problems of this type are:

Convex hull: Given a set of points, find the smallest convex polyhedron/polygon containing all the points. Line segment intersection: Find the intersections between a given set of line segments. Delaunay triangulation Voronoi diagram: Given a set of points, partition the space according to which points are closest to the given points. Linear programming Closest pair of points: Given a set of points, find the two with the smallest distance from each other. Farthest pair of points Largest empty circle: Given a set of points, find a largest circle with its center inside of their convex hull and enclosing none of them. Euclidean shortest path: Connect two points in a Euclidean space (with polyhedral obstacles) by a shortest path. Polygon triangulation: Given a polygon, partition its interior into triangles Mesh generation Boolean operations on polygons The computational complexity for this class of problems is estimated by the time and space (computer memory) required to solve a given problem instance.

Geometric query problems

In geometric query problems, commonly known as geometric search problems, the input consists of two parts: the search space part and the query part, which varies over the problem instances. The search space typically needs to be preprocessed, in a way that multiple queries can be answered efficiently. Some fundamental geometric query problems are:

Range searching: Preprocess a set of points, in order to efficiently count the number of points inside a query region. Point location problem: Given a partitioning of the space into cells, produce a data structure that efficiently tells in which cell a query point is located. Nearest neighbor search: Preprocess a set of points, in order to efficiently find which point is closest to a query point. Ray tracing: Given a set of objects in space, produce a data structure that efficiently tells which object a query ray intersects first. If the search space is fixed, the computational complexity for this class of problems is usually estimated by:

the time and space required to construct the data structure to be searched in the time (and sometimes an extra space) to answer queries. For the case when the search space is allowed to vary, see § Dynamic problems.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Computational geometry

Start with the simplest possible case. Write down what Computational geometry claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Computational geometry before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Computational geometry ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Computational geometry

In research
Computational geometry appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Computational geometry in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Computational geometry is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational fields of study, Computational geometry, Geometry processing, so understanding it makes those chapters shorter.
In everyday life
Look for Computational geometry outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Computational geometry” →

How to study Computational geometry in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Computational geometry means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Computational geometry out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Computational geometry in simple terms?

Computational geometry is a branch of computer science devoted to the study of algorithms that can be stated in terms of geometry. Some purely geometrical problems arise out of the study of computational geometric algorithms, and such problems are also considered to be part of computational geometr…

Why does Computational geometry matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Computational geometry?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Computational geometry.

Tags

  • Computational fields of study
  • Computational geometry
  • Geometry processing

Keep exploring