}
private ArrayList<Geometry> toTriangles(Geometry g){
ArrayList<Geometry> valid = new ArrayList<Geometry>();
DelaunayTriangulationBuilder triator = new DelaunayTriangulationBuilder();
triator.setSites(g);
Geometry tris = triator.getTriangles(gf);
for(int i=0; i<tris.getNumGeometries(); i++){
if(g.contains(tris.getGeometryN(i))) valid.add(tris.getGeometryN(i));
}
return valid;
}