java.lang.Object
org.jeometry.geom3D.algorithm.delaunay.clarkson.VoronoiTriangle

public class VoronoiTriangle
extends Object
A Vorinoi triangle.
Author:
Julien Seinturier
  • Constructor Details

    • VoronoiTriangle

      public VoronoiTriangle​(Point3D vertex1, Point3D vertex2, Point3D vertex3)
      Create a new Voronoi triangle with the given vertices.
      Parameters:
      vertex1 - the first vertex.
      vertex2 - the second vertex.
      vertex3 - the third vertex.
  • Method Details

    • getVertex1

      public Point3D getVertex1()
      Get the first vertex of the voronoi triangle.
      Returns:
      the first vertex of the voronoi triangle.
    • getVertex2

      public Point3D getVertex2()
      Get the second vertex of the voronoi triangle.
      Returns:
      the second vertex of the voronoi triangle.
    • getVertex3

      public Point3D getVertex3()
      Get the the third vertex of the voronoi triangle.
      Returns:
      the the third vertex of the voronoi triangle.