Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) "
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) "
- Date: Tue, 30 Oct 2012 18:21:18 +0100
- Organization: GeometryFactory
What is Kernel?
see also
http://www.cgal.org/FAQ.html#inexact_NT
Sebastien.
On 10/30/2012 04:18 PM, sgdimitris wrote:
Hello to all users,
I am using the cgal function
Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2)
to find the intersection between a *Plane_3* and a *Triangle_3*, for example
with names tmpPlane and tmpTriangle.
In many examples I don't have any problem, but in some examples this
function
made exceptions like the following:
"
Unhandled exception at 0x778515de in MyProgram.exe: 0xC0000005: Access
violation reading location 0x00000000
"
I guess that there is a problem in my created tmpPlane or tmpTriangle. I
used the control tests
tmpPlane.is_degenerated()
tmpTriangle.is_degenerated()
to avoid calling the intersection function, so I can handle the exception
that is created if the tmpPlane or the tmpTriangle is degenerated.
But in some examples I still got exceptio, although the tmpPlane and the
tmpTriangle are *not* degenerated.
I want to ask if there is another test that I can add to my created plane
and triangle to avoid getting exception from intersection function?
Any help would be incredible much appreciated, cause I have a strict
deadline to finish my project.
Thank everybody in advance,
Dimitris
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Problems-with-cgal-function-Object-intersection-Type1-Kernel-obj1-Type2-Kernel-obj2-tp4656101.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) ", sgdimitris, 10/30/2012
- Re: [cgal-discuss] Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) ", Sebastien Loriot (GeometryFactory), 10/30/2012
- [cgal-discuss] Re: Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) ", sgdimitris, 10/30/2012
- Re: [cgal-discuss] Re: Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) ", Sebastien Loriot (GeometryFactory), 10/31/2012
- [cgal-discuss] Re: Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) ", sgdimitris, 10/30/2012
- Re: [cgal-discuss] Problems with cgal function "Object intersection ( Type1<Kernel> obj1, Type2<Kernel> obj2) ", Sebastien Loriot (GeometryFactory), 10/30/2012
Archive powered by MHonArc 2.6.18.