void VoronoiDiagramBuilder::setSites(const geom::CoordinateSequence& coords)
{
   CoordinateSequence* coords_cpy = coords.clone();
   DelaunayTriangulationBuilder::unique(*coords_cpy);
   *siteCoords = *coords_cpy;
}
Пример #2
0
void 
VoronoiDiagramBuilder::setSites(const geom::CoordinateSequence& coords)
{
	siteCoords.reset( coords.clone() );
	DelaunayTriangulationBuilder::unique(*siteCoords);
}