Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] 3D Boolean operation with float data

Subject: CGAL users discussion list

List archive

[cgal-discuss] 3D Boolean operation with float data


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] 3D Boolean operation with float data
  • Date: Thu, 10 Jun 2010 18:14:35 +0200 (CEST)

Hello!

I am new to CGAL and i am having some questions about 3d boolean operation.

I have OFF files describing simple 3d objects (box), All the coordinate are
describe in float.
the two box are adjacent!

My program so far consists of:

- built polyhedron from OFF
- converting Polyhedron to Nef_polyhedron
- Add the Nef polyhedron
- display result

This work well, but the result polyhedron is more complex(in number of faces)
has expected.
After investigation, I discovered that my two coordinates common objects were
not all completely identical ( a difference after 3 numbers under comma).

i use a Exact_predicates_exact_constructions_kernel.

What's the solution for the boolean operation see 2 points like: P1(2.1547
1.7897 2) P2 (2.1548 17897 2) identical?
Is the role of the kernel to do that?

Best regards,
Damien



Archive powered by MHonArc 2.6.16.

Top of Page