Subject: CGAL users discussion list
List archive
- From: Matthew Denno <>
- To:
- Subject: [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question
- Date: Wed, 12 Aug 2009 11:59:36 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nKp5eVAdurCz5FrlSKb0DNrn4OBmlMDs6nbIxSwzxt18Q8qyG+4sh9rUbrgtZhn/MV r1p1vshq2L4dB/k7voWkZ+6Hu7pTRQj5/O7HnniwTcZ9D/Ms3ivuZuEn4CxsrsS3S5BI XMngAi1K3f22gOBxqoCqf5fF0OfckPP1EPjZo=
Hi All,
So I have implemented a solution for my question below. If the object returned is a segment I check to see if it is degenerate. If it is I convert its source end to a point. This seems to work ok. However, I am still interested to know if this is the intended behavior or not? Anyone have any thoughts?
Regards,
Matt
---------- Forwarded message ----------
From: Matthew Denno <>
Date: Mon, Aug 10, 2009 at 10:17 PM
Subject: Triangle_3_Segment_3_intersection question
To:
Hello,
I have a question regarding the Triangle_3_Segment_3_intersection function that is in CGAL3.5b1. Should it ever return a degenerate Segment_3? Seems like it should return a Point_3 instead. Not sure if this is a bug, is the intended behavior, or I am doing something wrong.
The situation that is giving me the degenerate segment is the intersection of a coplaner triangle and segment where the end of the segment is touching the edge of the triangle.
I can send a simple example if anyone is interested.
Thanks,
Matt
From: Matthew Denno <>
Date: Mon, Aug 10, 2009 at 10:17 PM
Subject: Triangle_3_Segment_3_intersection question
To:
Hello,
I have a question regarding the Triangle_3_Segment_3_intersection function that is in CGAL3.5b1. Should it ever return a degenerate Segment_3? Seems like it should return a Point_3 instead. Not sure if this is a bug, is the intended behavior, or I am doing something wrong.
The situation that is giving me the degenerate segment is the intersection of a coplaner triangle and segment where the end of the segment is touching the edge of the triangle.
I can send a simple example if anyone is interested.
Thanks,
Matt
- [cgal-discuss] Triangle_3_Segment_3_intersection question, Matthew Denno, 08/11/2009
- [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Matthew Denno, 08/12/2009
- Re: [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Pierre Alliez, 08/13/2009
- Re: [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Matthew Denno, 08/13/2009
- Re: [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Matthew Denno, 08/20/2009
- Re: [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Matthew Denno, 08/13/2009
- Re: [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Pierre Alliez, 08/13/2009
- [cgal-discuss] Fwd: Triangle_3_Segment_3_intersection question, Matthew Denno, 08/12/2009
Archive powered by MHonArc 2.6.16.