Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Members of the class CGAL::Point_d
- Date: Fri, 27 Apr 2012 15:51:00 +0200
Try with
#include <CGAL/Cartesian_d.h>
#include <CGAL/Lazy_exact_nt.h>
#include <CGAL/Gmpq.h>
typedef CGAL::Cartesian_d<CGAL::Lazy_exact_nt<CGAL::Gmpq> > Kernel;
The kernel in your typedef is 2D and 3D.
Sebastien.
On 04/27/2012 03:42 PM, luchia wrote:
Hallo,
I think I've a pretty silly question, thus sorry in advance.
I would like to work with precise aritmetic, so I defined the following
kernel:
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
Afterward, I've the following declaration:
typedef CGAL::Point_d<Kernel> Point_d;
The question is: Why when I declare:
Point_d p;
the variable "p" has no one of the methods that a Point_d should have?
Similar problem with:
typedef CGAL::Vector_d<Kernel> Vector_d;
Thanks in advance,
Luca
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Members-of-the-class-CGAL-Point-d-tp4592711p4592711.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Members of the class CGAL::Point_d, luchia, 04/27/2012
- Re: [cgal-discuss] Members of the class CGAL::Point_d, Sebastien Loriot (GeometryFactory), 04/27/2012
- [cgal-discuss] Re: Members of the class CGAL::Point_d, luchia, 04/27/2012
- Re: [cgal-discuss] Members of the class CGAL::Point_d, Philipp Moeller, 04/27/2012
- [cgal-discuss] Re: Members of the class CGAL::Point_d, luchia, 04/27/2012
- [cgal-discuss] Re: Members of the class CGAL::Point_d, ochyomdu, 04/27/2012
- Re: [cgal-discuss] Members of the class CGAL::Point_d, Sebastien Loriot (GeometryFactory), 04/27/2012
Archive powered by MHonArc 2.6.16.