IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i12p2713-d1171761.html
   My bibliography  Save this article

Simple and Robust Boolean Operations for Triangulated Surfaces

Author

Listed:
  • Meijun Zhou

    (School of Engineering and Technology, China University of Geosciences (Beijing), Beijing 100083, China)

  • Jiayu Qin

    (School of Engineering and Technology, China University of Geosciences (Beijing), Beijing 100083, China)

  • Gang Mei

    (School of Engineering and Technology, China University of Geosciences (Beijing), Beijing 100083, China
    Engineering and Technology Innovation Center for Risk Prevention and Control of Major Project Geosafety, MNR, Beijing 100083, China)

  • John C. Tipper

    (Institute of Earth and Environmental Science, University of Freiburg, D-79104 Freiburg im Breisgau, Germany)

Abstract

Boolean operations on geometric models are important in numerical simulation and serve as essential tools in the fields of computer-aided design and computer graphics. The accuracy of these operations is heavily influenced by finite precision arithmetic, a commonly employed technique in geometric calculations, which introduces numerical approximations. To ensure robustness in Boolean operations, numerical methods relying on rational numbers or geometric predicates have been developed. These methods circumvent the accumulation of rounding errors during computation, thus preserving accuracy. Nonetheless, it is worth noting that these approaches often entail more intricate operation rules and data structures, consequently leading to longer computation times. In this paper, we present a straightforward and robust method for performing Boolean operations on both closed and open triangulated surfaces. Our approach aims to eliminate errors caused by floating-point operations by relying solely on entity indexing operations, without the need for coordinate computation. By doing so, we ensure the robustness required for Boolean operations. Our method consists of two main stages: (1) Firstly, candidate triangle intersection pairs are identified using an octree data structure, and then parallel algorithms are employed to compute the intersection lines for all pairs of triangles. (2) Secondly, closed or open intersection rings, sub-surfaces, and sub-blocks are formed, which is achieved entirely by cleaning and updating the mesh topology without geometric solid coordinate computation. Furthermore, we propose a novel method based on entity indexing to differentiate between the union, subtraction, and intersection of Boolean operation results, rather than relying on inner and outer classification. We validate the effectiveness of our method through various types of Boolean operations on triangulated surfaces.

Suggested Citation

  • Meijun Zhou & Jiayu Qin & Gang Mei & John C. Tipper, 2023. "Simple and Robust Boolean Operations for Triangulated Surfaces," Mathematics, MDPI, vol. 11(12), pages 1-20, June.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:12:p:2713-:d:1171761
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/12/2713/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/12/2713/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:12:p:2713-:d:1171761. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.