Subject: CGAL users discussion list
List archive
[cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity
Chronological Thread
- From: erickee <>
- To:
- Subject: [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity
- Date: Fri, 27 Jan 2012 06:36:30 -0800 (PST)
Sebastien,
Ok. I'm not sure what a patch entails. Let me work with this for a while
in case I find a problem. Also, I have very limited experience with CGAL (3
days), so I wonder if there is a way to have someone who knows the code
review changes? The documentation might also need change a bit.
Also, I caught a typo in my explanation. The code that needs to be added to
CGAL should be added to Filtered_extended_homogenous.h, not
Nef_polyhedron_2.h. My original solution statement avoids this typo. The
minimal change to CGAL is:
> Filtered_extended_homogeneous.h
> At line 1053, there are a few construct_point() functions. Add another:
> Point_2 construct_point(const Point_2& p) const
> { return p; }
That change allows the polyhedron-based constructor in Nef_polyhedron_2.h to
accept points of type CGAL::Filtered_extended_homogeneous<RT>::Point_2,
which can describe points at infinity.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Constructing-Nef-polyhedra-from-polygons-with-points-at-infinity-tp4327351p4333637.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Constructing Nef polyhedra from polygons with points at infinity, erickee, 01/25/2012
- Re: [cgal-discuss] Constructing Nef polyhedra from polygons with points at infinity, Sebastien Loriot (GeometryFactory), 01/26/2012
- [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, erickee, 01/26/2012
- [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, erickee, 01/26/2012
- Re: [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, Sebastien Loriot (GeometryFactory), 01/27/2012
- [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, erickee, 01/27/2012
- Re: [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, Sebastien Loriot (GeometryFactory), 01/27/2012
- [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, erickee, 01/26/2012
- [cgal-discuss] Re: Constructing Nef polyhedra from polygons with points at infinity, erickee, 01/26/2012
- Re: [cgal-discuss] Constructing Nef polyhedra from polygons with points at infinity, Sebastien Loriot (GeometryFactory), 01/26/2012
Archive powered by MHonArc 2.6.16.