Simone Costi
Simone Costi

Reputation: 49

Computing parallel line in CGAL

Does anybody know how to compute a Line_2 parallel to another Line_2(known) with a distance of "d" between them?

Upvotes: 0

Views: 145

Answers (1)

Simone Costi
Simone Costi

Reputation: 49

I solved this problem creating a Line_2(a1, b1, c1) with the same a1 and b1 of the parallel line and a coefficient c1 equal to c + d*b.

Upvotes: 1

Related Questions