Subject: CGAL users discussion list
List archive
- From: sgdimitris <>
- To:
- Subject: [cgal-discuss] Re: Create Polyhedron from given Planes
- Date: Thu, 19 Apr 2012 03:49:59 -0700 (PDT)
Thank you for your answer.
I tried to read the manual to find how can I create a nef polyhedron from
planes. I found
"
Nef_polyhedron_3<Traits> N ( Input_iterator begin, Input_iterator end);
creates a Nef polyhedron consisting of a single polygon spanned by
the list
of points in the iterator
range [begin,end). If the points do not on a common supporting
plane, the constructor tries to
triangulate the polygon into multiple facets.If the construction
does not succeed, the empty set is
created.
"
so if I tried
// Definintions
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Nef_polyhedron_3<K>
Nef_polyhedron_3;
// Somewhere inside my code
Nef_polyhedron_3 tmpNefPoly( poly.planes_begin(), poly.planes_end() );
to create a nef polyhedron from the planes that I had, but I got the error
- error C2065: 'lo' : undeclared identifier
- error C2039: 'hi' : is not a member of
'CGAL::Box_intersection_d::Box_d<NT_,N>'
with
[
NT_=double,
N=3
]
- error C2065: 'hi' : undeclared identifier
Is there a way to create the nef polyhedron from a list of planes? Cause I
tried to read the manual, but for an unexperienced cgal user it looks
chaotic and not detailed
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Create-Polyhedron-from-given-Planes-tp4568074p4570518.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Create Polyhedron from given Planes, sgdimitris, 04/18/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, sgdimitris, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, ochyomdu, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, sgdimitris, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, ochyomdu, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, sgdimitris, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, ochyomdu, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, sgdimitris, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, ochyomdu, 04/19/2012
- [cgal-discuss] Re: Create Polyhedron from given Planes, sgdimitris, 04/19/2012
Archive powered by MHonArc 2.6.16.