Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Geom_traits could not be resolved
- Date: Sun, 22 Dec 2013 15:39:07 +0100
- Organization: GeometryFactory
The following is working for me:
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh_default_triangulation_3.h>
typedef CGAL::Surface_mesh_default_triangulation_3 Tria;
typedef Tria::Geom_traits GT;
int main()
{
Tria t;
GT::Point_3 p(1,1,1);
t.insert(p);
}
Could you provide a minimal example showing the pb as well as which platform you are using?
Sebastien.
On 12/19/2013 03:09 PM, tuur wrote:
Hi all,
I keep getting the error 'Tria::Geom_traits could not be resolved'. Any
ideas?
Here is part of the code:
typedef CGAL::Surface_mesh_default_triangulation_3 Tria;
// c2t3
typedef CGAL::Complex_2_in_triangulation_3<Tria> C2t3;
typedef Tria::Geom_traits GT;
typedef GT::Sphere_3 Sphere_3;
typedef GT::Point_3 Point_3;
typedef GT::FT FT;
typedef FT (*Function)(Point_3);
typedef CGAL::Implicit_surface_3<GT, Function> Surface_3;
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Geom-traits-could-not-be-resolved-tp4658574.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Geom_traits could not be resolved, tuur, 12/19/2013
- Re: [cgal-discuss] Geom_traits could not be resolved, Sebastien Loriot (GeometryFactory), 12/22/2013
Archive powered by MHonArc 2.6.18.