Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] compile error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] compile error


Chronological Thread 
  • From: Dinesh Shetty <>
  • To:
  • Subject: Re: [cgal-discuss] compile error
  • Date: Thu, 3 May 2018 06:53:31 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:ypSB/BXoBY2SF4gnHyaXdP0AWz7V8LGtZVwlr6E/grcLSJyIuqrYbBaBt8tkgFKBZ4jH8fUM07OQ7/i7HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba98IRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W7VhMx+jKxVrhG8qRJh34HZe5uaOOZkc67HYd8WWWhMU8BMXCJBGIO8aI4PAvIPM+ZZqYnyuUAOrRujDgexBOPg1CNIhmP23KYn1OkuDADG3Ao+ENIVsHTYttT1NKYJUe+p16TIwjDDYOlX2Tf58oTHbhchofSVUL92bMHfx04vFwbfgVWRr4zoJzWV2f4WvGeA6+pvS/ijhHIgqwF0ujSvx8EsipPIho0P0FzE+z95zYAoLtO7UE52ecCoHIdUui2ANIZ7QtkuT391tCs70LEKpJy2cScMxZ863RDQceaHfJKN4h/7VOaePzN4hHV9dbK6nRmy8EygxvTlVsmozFpGtyRFnsTOu30CzRDT5c+HSvxy/kelxzmDzRzc6uZBIUwslKrbLYAuwqIom5YNrUjOGjX6lUb2gaOMaEko5+ml5/76brjkqZKQL4p0hRv/MqQqlMy/G+M4Mg0WUmeG+OS80qPs/Vb5QLlQj/02k7LZv4zBKMQUo662GQ5V0oI55xmjCDem1cwUnWMbI1JdZBKHk4/pNknSL/D3F/i/h02gnypqx/DdIrLhH47NLmPYnbf6fbd97lZcxxApwdBe4ZJUELABL+jpVk//rtyLRiI/KBG+lub7FM1mhMRZQnOKGqbfMaXIsFbO6PhoOPiJfIZSuTDzLL8u6PfqyHM4glQAZrL64ZxCY3+xGrFqIl6SfGH3qtYHC2YD+AQkH8Lwj1jXfT9Vam2yF5k86y0nGcryAYbFS5utxr2AxyyTEZhfZ2QAAVeJRyS7P76YUusBPXrBavRqlSYJAOD4Gt0RkCq2vQq/8IJJa+/d+ykWr5XmjYEn6OjalBV0/jtxXZ3EjzO9Clpsl2ZNfAcYmbhlqBUkmFiG2Kl8xfdfEI4Lvq4bYkIBLZfZitdCJZXyVwbGJInbTV+nRpC/HWl0QItun5kBZEFyH9jkhRfGjXKn

Still does not work. Here is the updated typedefs

typedef CGAL::Triangulation_vertex_base_with_info_2<std::pair< std::pair<int, int>, std::pair<int, IdType> >, Kernel > Vb;

typedef CGAL::Delaunay_mesh_vertex_base_2<Kernel, Vb> Vertex_base;

typedef CGAL::Constrained_Delaunay_triangulation_face_base_2<Kernel> Fb;

typedef CGAL::Delaunay_mesh_face_base_2< Kernel, Fb > Face_base; typedef CGAL::Exact_intersections_tag Itag;

typedef CGAL::Triangulation_data_structure_2< Vertex_base, Face_base > Triangulation_data;

typedef CGAL::Constrained_Delaunay_triangulation_2< Kernel, Triangulation_data, Itag > CDTriangulation;

typedef CGAL::Constrained_triangulation_plus_2<CDTriangulation> CDTriangulationPlus;

typedef CGAL::Delaunay_mesh_size_criteria_2< CDTriangulationPlus > Criteria;

typedef CGAL::Delaunay_mesher_2< CDTriangulationPlus, Criteria > Mesher_Base;

typedef CDTriangulationPlus::Vertex_handle Vertex_handle;

typedef std::vector< Vertex_handle > Vertex_handles;

typedef CDTriangulationPlus::Face_handle Face_handle;


On Thu, May 3, 2018 at 4:50 AM, Mael Rouxel-Labbé <> wrote:
This is not the correct approach. Please use the solution that was
provided to you back then.


On 02/05/2018 21:59, Florian Prud'homme wrote:
> Hello ,
>
> I remember I have a problem a bit similar 6 months ago . I created a new
> file for this (in order to make it work with "data info" and "constrained"
> triangulation) :
>
>
>> /*
>>   * Delaunay_mesh_vertex_base_with_info_2.h
>>   *
>>   *  Created on: Nov 23, 2017
>>   *      Author: florian
>>   */
>> #ifndef DELAUNAY_MESH_VERTEX_BASE_WITH_INFO_2_H_
>> #define DELAUNAY_MESH_VERTEX_BASE_WITH_INFO_2_H_
>> #include <CGAL/Triangulation_vertex_base_2.h>
>> namespace CGAL {
>> template<typename Info_, typename GT, typename Vb =
>> Triangulation_vertex_base_2&lt;GT> >
>> class Delaunay_mesh_vertex_base_with_info_2: public Vb {
>>      Info_ _info;
>> public:
>>      typedef typename GT::FT FT;
>>      typedef typename Vb::Face_handle Face_handle;
>>      typedef typename Vb::Point Point;
>>      typedef Info_ Info;
>>      template<typename TDS2>
>>      struct Rebind_TDS {
>>          typedef typename Vb::template Rebind_TDS<TDS2>::Other Vb2;
>>          typedef Delaunay_mesh_vertex_base_with_info_2<Info, GT, Vb2>
> Other;
>>      };
>> protected:
>>      FT sizing_info_;
>> public:
>>      Delaunay_mesh_vertex_base_with_info_2() :
>>              Vb(), sizing_info_(0.) {
>>      }
>>      Delaunay_mesh_vertex_base_with_info_2(const Point & p) :
>>              Vb(p), sizing_info_(0.) {
>>      }
>>      Delaunay_mesh_vertex_base_with_info_2(const Point & p, Face_handle c)
> :
>>              Vb(p, c), sizing_info_(0.) {
>>      }
>>      Delaunay_mesh_vertex_base_with_info_2(Face_handle c) :
>>              Vb(c), sizing_info_(0.) {
>>      }
>>      void set_sizing_info(const FT& s) {
>>          sizing_info_ = s;
>>      }
>>      const FT& sizing_info() const {
>>          return sizing_info_;
>>      }
>>      const Info& info() const {
>>          return _info;
>>      }
>>      Info& info() {
>>          return _info;
>>      }
>> };
>> } // namespace CGAL
>> #endif /* DELAUNAY_MESH_VERTEX_BASE_WITH_INFO_2_H_ */

>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page