Class Polygon

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

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

  • Constructor Details

  • Method Details

    • clone

      public Polygon clone()
      Overrides:
      clone in class Object
    • flip

      public void flip()
    • flipped

      public Polygon flipped()
    • triangulate

      public List<Polygon> triangulate()
      Triangulates this polygon using Delaunay triangulation.

      Projects vertices to a 2D plane dominant to the normal, triangulates, and reconstructs 3D triangles.

      Returns:
      list of triangular Polygons