void VoronoiDiagramBuilder::setSites(const geom::CoordinateSequence& coords) { CoordinateSequence* coords_cpy = coords.clone(); DelaunayTriangulationBuilder::unique(*coords_cpy); *siteCoords = *coords_cpy; }
void VoronoiDiagramBuilder::setSites(const geom::CoordinateSequence& coords) { siteCoords.reset( coords.clone() ); DelaunayTriangulationBuilder::unique(*siteCoords); }