Subject: CGAL users discussion list
List archive
- From: Jon Gould <>
- To:
- Subject: Re: [cgal-discuss] snaprounding with custom kernel
- Date: Sun, 15 May 2016 23:07:19 +0800
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Importance: normal
- Ironport-phdr: 9a23:01BH8hcpp8tyNQ+TUJaMEpOdlGMj4u6mDksu8pMizoh2WeGdxc6zZh7h7PlgxGXEQZ/co6odzbGG4ua6BSdQud6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDjvcePKFUQzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3Heb8lR+lYECg+KDJyo9b6sAHKCwqJ/HoVFGsM1QFZBhDMqxD8UJC2uSTzsq9x2TKRINbtHowzDD+t5qMuRB7zgzocLBY49nvWg4p+lvF1uhWk8j54xcb7Z5yROLIqfKTbO9wdWG5NdsdQUSFdRIWxc80GErxSbq5js4Dhqg5W/lOFDg62Cba3xw==
Kind Regards
Jon
-------- Original message --------
From: Peter Sadrozinski <>
Date: 15/05/2016 11:02 pm (GMT+08:00)
To:
Subject: Re: [cgal-discuss] snaprounding with custom kernel
That fixed it. Thanks for your help.
Pete
On Sun, May 15, 2016 at 10:58 AM, Marc Glisse <> wrote:
I have no idea where this is documented, but cgal kernel functors use the boost/tr1 result_of protocol, and at least the error message is very clear. You are missing:On Sun, 15 May 2016, Peter Sadrozinski wrote:
Hello,
I am attempting to use snap rounding with a custom kernel ( new point
container ).
I am basing the test code on the CGAL Kernel23/ example.
I am seeing gcc errors, and I suppose I need some more glue, but am unable
to tell what that may be.
Any direction in how to proceed would be appreciated.
I've created a gist with the gcc error log, and sample code on github here:
https://gist.github.com/petersadro/0d6a80764752869d8639c3d6bf82e7d1
typedef const FT* result_type;
in class MyConstruct_coord_iterator.
Kd_tree_rectangle.h seems to have a bug, it should not use Construct_cartesian_const_iterator_d::result_type directly but go through result_of instead. This would make the typedef unnecessary in C++11.
--
Marc Glisse
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] snaprounding with custom kernel, Peter Sadrozinski, 05/15/2016
- Re: [cgal-discuss] snaprounding with custom kernel, Marc Glisse, 05/15/2016
- Re: [cgal-discuss] snaprounding with custom kernel, Peter Sadrozinski, 05/15/2016
- <Possible follow-up(s)>
- Re: [cgal-discuss] snaprounding with custom kernel, Jon Gould, 05/15/2016
- Re: [cgal-discuss] snaprounding with custom kernel, Marc Glisse, 05/15/2016
Archive powered by MHonArc 2.6.18.