diff --git a/Shape_detection/doc/Shape_detection/Concepts/RegionType.h b/Shape_detection/doc/Shape_detection/Concepts/RegionType.h index 4b89b0c7084..b9319707e49 100644 --- a/Shape_detection/doc/Shape_detection/Concepts/RegionType.h +++ b/Shape_detection/doc/Shape_detection/Concepts/RegionType.h @@ -22,6 +22,9 @@ class RegionType { public: + /// The parameters of the primitive covering the region. + typedef unspecified_type Primitive; + /*! checks if the item with the index `index_to`, which is a neighbor of the item with the index `index_from`, can be added to the region represented by `indices`. @@ -50,6 +53,14 @@ public: } + /*! + provides the last primitive that has been fitted with the region. + */ + + Primitive primitive() const { + return Primitive(m_axis, m_radius); + } + /*! enables to update any information that is maintained with the region represented by `indices`.