/** * Sets the sites (point or vertices) which will be diagrammed. * All vertices of the given geometry will be used as sites. * * @param geom the geometry from which the sites will be extracted. */ public void setSites(Geometry geom) { // remove any duplicate points (they will cause the triangulation to fail) siteCoords = DelaunayTriangulationBuilder.extractUniqueCoordinates(geom); }
/** * Sets the sites (vertices) which will be triangulated. * All vertices of the given geometry will be used as sites. * * @param geom the geometry from which the sites will be extracted. */ public void setSites(Geometry geom) { // remove any duplicate points (they will cause the triangulation to fail) siteCoords = extractUniqueCoordinates(geom); }
/** * Sets the sites (point or vertices) which will be triangulated. * All vertices of the given geometry will be used as sites. * The site vertices do not have to contain the constraint * vertices as well; any site vertices which are * identical to a constraint vertex will be removed * from the site vertex set. * * @param geom the geometry from which the sites will be extracted. */ public void setSites(Geometry geom) { siteCoords = DelaunayTriangulationBuilder.extractUniqueCoordinates(geom); }
/** * Sets the sites (point or vertices) which will be diagrammed. * All vertices of the given geometry will be used as sites. * * @param geom the geometry from which the sites will be extracted. */ public void setSites(Geometry geom) { // remove any duplicate points (they will cause the triangulation to fail) siteCoords = DelaunayTriangulationBuilder.extractUniqueCoordinates(geom); }
/** * Sets the sites (vertices) which will be triangulated. * All vertices of the given geometry will be used as sites. * * @param geom the geometry from which the sites will be extracted. */ public void setSites(Geometry geom) { // remove any duplicate points (they will cause the triangulation to fail) siteCoords = extractUniqueCoordinates(geom); }
/** * Sets the sites (point or vertices) which will be triangulated. * All vertices of the given geometry will be used as sites. * The site vertices do not have to contain the constraint * vertices as well; any site vertices which are * identical to a constraint vertex will be removed * from the site vertex set. * * @param geom the geometry from which the sites will be extracted. */ public void setSites(Geometry geom) { siteCoords = DelaunayTriangulationBuilder.extractUniqueCoordinates(geom); }