Using prolog for constructing geometric objects defined by constraints

6Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Efficient algorithmic solutions are known for many problems in geometric modeling. Most algorithms are best implemented in a procedural programming language. For other problems, especially in interactive programs, no procedures may be found easily, but we may formulate the knowledge of our problem in a descriptive way with facts and ruies. Prolog is an appropriate language for finding solutions in the latter case. On the other hand, Prolog does not support efficiently the writing of procedures and arithmetic, which are still essential for solving geometrical problems. We describe how a geometrical construction problem may be solved with Prolog. For computations such as line intersections, or for graphic display, we use the procedural programming language Modula-2. In order to combine the two languages we designed an interface language ‘logula’. An easy-to-use notation allows an application programmer to add new ‘built-in’ predicates, which are implemented as Modula-2 procedures.

Cite

CITATION STYLE

APA

Brüderlin, B. (1985). Using prolog for constructing geometric objects defined by constraints. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 204 LNCS, pp. 448–459). Springer Verlag. https://doi.org/10.1007/3-540-15984-3_309

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free