Class CSGUtils

java.lang.Object
org.episteme.core.mathematics.geometry.csg.CSGUtils

public class CSGUtils extends Object
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

  • Constructor Details

    • CSGUtils

      public CSGUtils()
  • Method Details

    • splitPolygon

      public static void splitPolygon(Plane3D plane, Polygon polygon, List<Polygon> coplanarFront, List<Polygon> coplanarBack, List<Polygon> front, List<Polygon> back)
      Splits a polygon by a plane.
      Parameters:
      plane - the splitting plane
      polygon - the polygon to split
      coplanarFront - list to populate with coplanar front polygons
      coplanarBack - list to populate with coplanar back polygons
      front - list to populate with front polygons
      back - list to populate with back polygons