Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Members of the class CGAL::Point_d

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Members of the class CGAL::Point_d


Chronological Thread 
  • From: ochyomdu <>
  • To:
  • Subject: [cgal-discuss] Re: Members of the class CGAL::Point_d
  • Date: Fri, 27 Apr 2012 07:38:09 -0700 (PDT)

Hello Luca,

You can do it like this:

#include <CGAL/Exact_predicates_exact_constructions_kernel.h>

typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef typename Kernel::Point_3 Point_3;
typedef typename Kernel::Vector_3 Vector_3;

Much success!


luchia wrote
>
> I would like to work with precise aritmetic, so I defined the following
> kernel:
> typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
> 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;
> Luca
>


--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Members-of-the-class-CGAL-Point-d-tp4592711p4592865.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page