Class AbstractConstrainedDelaunayTriangulation<P extends AbstractJavaPoint<P>,L extends AbstractJavaLine<P>,G extends AbstractJavaPolygon<P,L>>
- java.lang.Object
-
- science.aist.imaging.mesh.triangulation.delaunay.AbstractConstrainedDelaunayTriangulation<P,L,G>
-
- All Implemented Interfaces:
Triangulation<P,L,G>
- Direct Known Subclasses:
ConstrainedDelaunayTriangulation2D
,ConstrainedDelaunayTriangulation3D
public abstract class AbstractConstrainedDelaunayTriangulation<P extends AbstractJavaPoint<P>,L extends AbstractJavaLine<P>,G extends AbstractJavaPolygon<P,L>> extends Object implements Triangulation<P,L,G>
Abstract implementation of a constrained delaunay triangulation process
- Since:
- 1.2
- Author:
- Christoph Praschl
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractConstrainedDelaunayTriangulation(Function<List<org.jdelaunay.delaunay.geometries.DPoint>,G> polygonFunction, boolean verboseMode, boolean forceMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<G>
triangulate(List<P> points)
Triangulates a given list of pointsList<G>
triangulate(List<P> points, List<L> constraints)
Triangulates the given points using the given constraints
-
-
-
Method Detail
-
triangulate
public List<G> triangulate(List<P> points)
Description copied from interface:Triangulation
Triangulates a given list of points- Specified by:
triangulate
in interfaceTriangulation<P extends AbstractJavaPoint<P>,L extends AbstractJavaLine<P>,G extends AbstractJavaPolygon<P,L>>
- Parameters:
points
- to be triangulated- Returns:
- triangulation result
-
-