Skip to content

Commit

Permalink
Merge branch '5.6.x-branch'
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Mar 6, 2024
2 parents b34d9d6 + 2fc4a76 commit 8c65aff
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef CGAL::Segment_Delaunay_graph_traits_2<K> Gt;
typedef CGAL::Segment_Delaunay_graph_2<Gt> SDG2;

int main() {
auto segments = std::vector({
CGAL::Segment_2<K>(
CGAL::Point_2<K>(0.0, 0.0),
CGAL::Point_2<K>(1.0, 0.0))
});
int main()
{
std::vector<CGAL::Segment_2<K>> segments;
segments.emplace_back(CGAL::Point_2<K>(0.0, 0.0),CGAL::Point_2<K>(1.0, 0.0));

SDG2 delaunay;
delaunay.insert_segments(segments.begin(), segments.end());
SDG2 delaunay;
delaunay.insert_segments(segments.begin(), segments.end());

return 0;
return 0;
}

0 comments on commit 8c65aff

Please sign in to comment.