Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: Re: Re: [cgal-discuss] check if 3d point is within a plane extend
- Date: Sun, 22 Feb 2009 16:10:26 +0100 (CET)
Hi,
i think i've found what i want: a convex hull of a set of points. I got it to
work with a 2d point set. However, my points are in 3d so i was thinking of
using a xy trait class. But i don't get it to work. I always struggle with the
traits declaration... Any help is much appreciated!
struct K : public CGAL::Exact_predicates_inexact_constructions_kernel {};
typedef K::Point_3 Point;
typedef CGAL::Convex_hull_projective_xy_traits_2<Point> Traits_xy;
ifstream ch_in("surface.dat");
ofstream ch_out("hull.dat");
istream_iterator<Point> in_start( ch_in );
istream_iterator<Point> in_end;
ostream_iterator<Point> out( ch_out, "\n" );
CGAL::ch_graham_andrew( in_start, in_end, out, Traits_xy);
- [cgal-discuss] check if 3d point is within a plane extend, matthias.kunz, 02/20/2009
- Re: [cgal-discuss] check if 3d point is within a plane extend, Andreas Fabri, 02/20/2009
- Re: Re: [cgal-discuss] check if 3d point is within a plane extend, matthias.kunz, 02/22/2009
- Re: [cgal-discuss] check if 3d point is within a plane extend, Andreas Fabri, 02/20/2009
Archive powered by MHonArc 2.6.16.