Hostname: page-component-89b8bd64d-9prln Total loading time: 0 Render date: 2026-05-14T01:35:49.375Z Has data issue: false hasContentIssue false

A polymorphic library for constructive solid geometry

Published online by Cambridge University Press:  07 November 2008

J. R. Davy
Affiliation:
School of Computer Studies, University of Leeds, Leeds LS2 9JT, UK
P. M. Dew
Affiliation:
School of Computer Studies, University of Leeds, Leeds LS2 9JT, UK
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Solid modelling using constructive solid geometry (CSG) includes many examples of stylised divide-and-conquer algorithms. We identify the sources of these recurrent patterns and describe a Geometric Evaluation Library (GEL) which captures them as higher-order functions. This library then becomes the basis of developing CSG applications quickly and concisely. GEL is currently implemented as a set of separately compiled modules in the pure functional language Hope+. We evaluate our work in terms of performance and general applicability. We also assess the benefits of the functional paradigm in this domain and the merits of programming with a set of higher-order functions.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 1995
Submit a response

Discussions

No Discussions have been published for this article.