org.jzy3d.plot3d.builder.delaunay
Interface Triangulation

All Known Implementing Classes:
Delaunay_Triangulation

public interface Triangulation

Author:
Mo

Method Summary
 void insertPoint(Point_dt p)
          insert the point to this Delaunay Triangulation.
 java.util.Iterator<Triangle_dt> trianglesIterator()
          computes the current set (vector) of all triangles and return an iterator to them.
 int trianglesSize()
           
 java.util.Iterator<Point_dt> verticesIterator()
          returns an iterator to the set of points compusing this triangulation.
 

Method Detail

insertPoint

void insertPoint(Point_dt p)
insert the point to this Delaunay Triangulation. Note: if p is null or already exist in this triangulation p is ignored.

Parameters:
p - new vertex to be inserted the triangulation.

trianglesIterator

java.util.Iterator<Triangle_dt> trianglesIterator()
computes the current set (vector) of all triangles and return an iterator to them.

Returns:
an iterator to the current set of all triangles.

verticesIterator

java.util.Iterator<Point_dt> verticesIterator()
returns an iterator to the set of points compusing this triangulation.

Returns:
iterator to the set of points compusing this triangulation.

trianglesSize

int trianglesSize()
Returns:
the number of triangles in the triangulation.
Note: includes infinife faces!!.