Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Determine if a point is interior or exterior to a Polyhedron_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Determine if a point is interior or exterior to a Polyhedron_3


Chronological Thread 
  • From: Zohar <>
  • To:
  • Subject: [cgal-discuss] Re: Determine if a point is interior or exterior to a Polyhedron_3
  • Date: Tue, 13 Mar 2012 03:57:23 -0700 (PDT)


Laurent,

I updated my post, and you probably didn't see it because you don't use the
forum interface, so here it is:

"Maybe there's a better way, but I would construct a AABB tree for the
polyhedron triangles. Then I would find the closest triangle to the query
point and use Kernel::HasOnNegativeSide_3() (~positive) on the triangle's
Kernel::ConstructSupportingPlane_3().

You should also check the locate() of Nef_polyhedron_3. "

Do you see a flaw in my method (point right to hyperplane)?
Don't you think it's more robust then the negligible probability?

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Determine-if-a-point-is-interior-or-exterior-to-a-Polyhedron-3-tp4466730p4468763.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page