Module org.jeometry.algorithm
Class VoronoiTriangle
java.lang.Object
org.jeometry.geom3D.algorithm.delaunay.clarkson.VoronoiTriangle
public class VoronoiTriangle extends Object
A Vorinoi triangle.
- Author:
- Julien Seinturier
-
Constructor Summary
Constructors Constructor Description VoronoiTriangle(Point3D vertex1, Point3D vertex2, Point3D vertex3)Create a new Voronoi triangle with the given vertices. -
Method Summary
Modifier and Type Method Description Point3DgetVertex1()Get the first vertex of the voronoi triangle.Point3DgetVertex2()Get the second vertex of the voronoi triangle.Point3DgetVertex3()Get the the third vertex of the voronoi triangle.
-
Constructor Details
-
VoronoiTriangle
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
Get the first vertex of the voronoi triangle.- Returns:
- the first vertex of the voronoi triangle.
-
getVertex2
Get the second vertex of the voronoi triangle.- Returns:
- the second vertex of the voronoi triangle.
-
getVertex3
Get the the third vertex of the voronoi triangle.- Returns:
- the the third vertex of the voronoi triangle.
-