Subject: CGAL users discussion list
List archive
- From: 芮泽亚 <>
- To:
- Subject: Re: [cgal-discuss] how to check whether the two polyhedrons is in contact
- Date: Tue, 4 Feb 2014 17:56:53 +0000
Hi Sebastien
What do you mean" intersection predicate "?
It seems all the intersection tests output intersection even if the two objects touch.
After the box intersection, I may further do the triangle intersection.
But if two triangles touch, the intersection function would always say they intersect.
In my problem, I would say they do not intersect if they touch cause the optimal solution of my problem may occur when the objects touch.
Thanks:)
Vanessa
2014-02-04 Sebastien Loriot (GeometryFactory) <>:
You can use this package:
http://doc.cgal.org/latest/Box_intersection_d/index.html
and use an intersection predicate matching your need.
Sebastien.
On 02/04/2014 04:24 PM, 芮泽亚 wrote:
Hi<mailto:>>:
I mean the two polyhedrons touch(share a common point, edge, or face).
It seems when I use the function, it will output the two polyhedrons
intersect in this case.
But in my problem, this case requires to be considered no intersection.
Can you give me some hints about how to check this case?
Thanks for your help.
Vanessa
2014-02-04 Sebastien Loriot (GeometryFactory) <function"CGAL::intersection___Polyhedron_3_Polyhedron_3(__Poly1,
On 02/04/2014 02:27 PM, vanessa wrote:
Hi all
I'm trying to do the intersection test for two 3D polyhedrons
using the
Poly2,
std::back_inserter(polylines))__;".http://cgal-discuss.949826.n4.__nabble.com/how-to-check-__whether-the-two-polyhedrons-__is-in-contact-tp4658761.html
It performs well.But when one polyhedron is in contact to the
other, the
output (size of polylines) shows 1 instead of 0. Is there any
method to
check the case that two polyhedrons are in contact?
What do you mean by in contact?
IIRC, note that this function is will not report intersection points.
Sebastien.
Many thanks
Vanessa
--
View this message in context:https://sympa.inria.fr/sympa/__info/cgal-discuss
<http://cgal-discuss.949826.n4.nabble.com/how-to-check-whether-the-two-polyhedrons-is-in-contact-tp4658761.html>
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
<https://sympa.inria.fr/sympa/info/cgal-discuss>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] how to check whether the two polyhedrons is in contact, vanessa, 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, Sebastien Loriot (GeometryFactory), 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, 芮泽亚, 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, Sebastien Loriot (GeometryFactory), 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, 芮泽亚, 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, Sebastien Loriot (GeometryFactory), 02/05/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, vanessa, 02/05/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, Sebastien Loriot (GeometryFactory), 02/05/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, 芮泽亚, 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, Sebastien Loriot (GeometryFactory), 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, 芮泽亚, 02/04/2014
- Re: [cgal-discuss] how to check whether the two polyhedrons is in contact, Sebastien Loriot (GeometryFactory), 02/04/2014
Archive powered by MHonArc 2.6.18.