Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Point with Information
- Date: Tue, 31 Aug 2010 19:54:01 +0200
philippH wrote:
Hello,First of all, have you already try to do it? In some cases the derivation is fine. Can you provide a minimal example showing an
I have a custom Point class wich is derived from Point_3 storing some extra
Information.
Is there a easy way to insert these Points into a kdTree without having to
build a customized
distance class.
error message?
The official method to use a custom Point type is to defined your own
kernel as described here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Kernel_23/Chapter_main.html#Subsection_11.5.2
If you do this then all functors defined for CGAL kernels will works
with your point type.
Is there another way to associate Information with a Point similar toUnfortunately not now, but that may change in the future.
Triangulation_vertex_base_with_info_3
S.
best regards, Philipp
- [cgal-discuss] Point with Information, philippH, 08/31/2010
- Re: [cgal-discuss] Point with Information, Sebastien Loriot (GeometryFactory), 08/31/2010
- [cgal-discuss] Re: Point with Information, philippH, 08/31/2010
- Re: [cgal-discuss] Point with Information, Sebastien Loriot (GeometryFactory), 08/31/2010
Archive powered by MHonArc 2.6.16.