Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Intersection of Iso_rectangle_2 and Ray_2

Subject: CGAL users discussion list

List archive

[cgal-discuss] Intersection of Iso_rectangle_2 and Ray_2


Chronological Thread 
  • From: Mikhail Matrosov <>
  • To:
  • Subject: [cgal-discuss] Intersection of Iso_rectangle_2 and Ray_2
  • Date: Fri, 2 Mar 2012 11:55:01 +0400
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.236.77.166 as permitted sender) ; dkim=pass

There is a function Object intersection(Type1<Kernel> obj1, Type2<Kernel> obj2) in CGAL which will return an object, representing intersection of two given objects of different possible types. It is said, that intersection of Iso_rectangle_2 and Ray_2 is either Point_2 or Segment_2.

And what about the case when ray intersects rectangle in two points (see attached picture)? Cannot see anything about it in the manual.

-----
Best regards, Mikhail Matrosov

Attachment: ray_intersects_rectangle.png
Description: PNG image




Archive powered by MHonArc 2.6.16.

Top of Page