From 0123e5d8485b64a2bafcbb1379ab700364f5477d Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Wed, 1 Mar 2017 15:33:46 +0100 Subject: [PATCH] Additional documentation for features --- Classification/include/CGAL/Classification/Feature_base.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Classification/include/CGAL/Classification/Feature_base.h b/Classification/include/CGAL/Classification/Feature_base.h index 746914aaf29..93b61dab7b1 100644 --- a/Classification/include/CGAL/Classification/Feature_base.h +++ b/Classification/include/CGAL/Classification/Feature_base.h @@ -33,6 +33,13 @@ namespace Classification { \brief Abstract class describing a classification feature that associates a scalar value to each item of the classification input. + + User-defined features must inherit this class. Feature objects are + generated by `CGAL::Classifier` objects by the method + `CGAL::Classifier::add_feature()`. For this method to work, the + first argument of the feature's constructors must be of type + `ItemRange&` (where `ItemRange` is the first template argument of + `CGAL::Classifier`). */