Subject: CGAL users discussion list
List archive
[cgal-discuss] How to obtain the handle of a triangle that is intersected by a ray
Chronological Thread
- From: adrian <>
- To:
- Subject: [cgal-discuss] How to obtain the handle of a triangle that is intersected by a ray
- Date: Tue, 21 Mar 2017 02:16:49 -0700 (PDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:+4O3ChBR+s5YNl0+JsTVUyQJP3N1i/DPJgcQr6AfoPdwSP3zr8bcNUDSrc9gkEXOFd2CrakV1qyI4uigATVGusnR9ihaMdRlbFwst4Y/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbtLcQdCDyp3vn6Dpo8WSME10g2+2brp2aRm3tg7MrdI+gI14K693xAGajGFPfrFfyXlpLFTbyx/w/Ma5+thp9Chdvfco8choXqDzfqB+RrtdWmd1e1sp7dHm4ECQBTCE4WERBz5Oyhc=
I have an AABBtree structure and a ray that intersects it.
How do I obtain the handle of the triangle that is interesected by the ray?
The reason why I need that is that I need to compute the normal vector of
the intersected triangle.
I tried the following approach:
But the last line does not compile.
This is my code:
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-obtain-the-handle-of-a-triangle-that-is-intersected-by-a-ray-tp4662591.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] How to obtain the handle of a triangle that is intersected by a ray, adrian, 03/21/2017
- Re: [cgal-discuss] How to obtain the handle of a triangle that is intersected by a ray, Sebastien Loriot (GeometryFactory), 03/22/2017
Archive powered by MHonArc 2.6.18.