Subject: CGAL users discussion list
List archive
- From: Florian Prud'homme <>
- To:
- Subject: Re: [cgal-discuss] Introduction to the community
- Date: Thu, 1 Mar 2018 11:15:21 -0700 (MST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Neutral ; spf=Pass
- Ironport-phdr: 9a23:65bXuBMwL81sO4O0ZhYl6mtUPXoX/o7sNwtQ0KIMzox0Lfr8rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkJNzA37mLZhc5+jKxGrx2uuxNxzpXIYIyXKPZyYr/Rcc8ESWdHQ81fVzZBAoS5b4YXD+QBOeFYr5P8p1QUqxu1GBOiBPnyyjBVhXP23ao60+EkEQ7YwQctGNYOsGnIo9X2NKYSS/q6zK/UzTrZafNWwTP955LOch06ofCDR7Jwcc3WyUU1GQPFlEydpIr4ND2b0eQNtnKU7+tmVe+3jW4osRp+rSOrxsgykIXGmoUVylXC+C5kw4g1PcW1RFN6bNK6CpdcqSGXOoVsTs8/TWxltjw2x78YtZO9YSME0o4oxwTFZPyCa4WI4gzsVOKWITpggnJod6izhxCo/ke70eL8Ute73ExWoSpCl9nArnEN1xrN5cibUvZx40as1SiV2wzN6uxJL1o4mbfVJpMv2LI9lIQfvVzGHiDsmUX2iKGWdl8j+uit8+nnZqjmqYOfN450kAHxKKIumtClDuQ+KggOW3KU+eKn2bzj50L5QLJKjvosnqnXqpDWPd4bqbKhAw9JzoYj7A6yACup0NsCmXkLNU9KeBOcj4f1JlHOO+v4AOykg1WslTdr3+rJMqfgApXLNHjDka3ucaxz605Gm0IPyoVU6JtQT70AO/nuQVTZtdrCDxZ/PRbn7fzgDYBT0oQEWGuJSpeDLa+dsViN4+9nd+2Rb4wEoj/7N/Ej//rni1cokF8aeu+nx81EOziDAv16LhDBMjLXidAbHDJS51tsfKnRkFSHFAVrSTO3VqM46Cs8Ddv+X5bKRoeqxrKbjn3iQs9mI1teA1XJKk/GMp2eUq5UOjObIshm1DIeB+D4Ft0RkCq2vQq/8IJJa+rZ/ipB6MDliJ5z7ufZkRx0/jtxXZ2Q
Hi
Could you add a file named Delaunay_mesh_vertex_base_with_info_2.h
with the following content to CGAL ? :
/*
* 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<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_ */
thanks
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- Re: [cgal-discuss] Introduction to the community, Florian Prud'homme, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Mael Rouxel-Labbé, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Florian Prud'homme, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Florian Prud'homme, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Florian Prud'homme, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Simon Giraudot, 03/02/2018
- Re: [cgal-discuss] Introduction to the community, Florian Prud'homme, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Florian Prud'homme, 03/01/2018
- Re: [cgal-discuss] Introduction to the community, Mael Rouxel-Labbé, 03/01/2018
Archive powered by MHonArc 2.6.18.