Subject: CGAL users discussion list
List archive
- From: Philipp Moeller <>
- To:
- Subject: Re: [cgal-discuss] Members of the class CGAL::Point_d
- Date: Fri, 27 Apr 2012 15:49:30 +0200
- Organization: GeometryFactory
luchia
<>
writes:
> 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;
This is not a d-dimensional kernel, but a 23 dimensional one. You will
need to specify a d-dimensional kernel with an exact number type,
because there is no equivalent of Epeck for Kernel_d. e.g.
typedef Cartesian_d<CGAL::Gmpq> K;
typedef K::Point_d Point;
>
> 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
- [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.