DGtal 1.4.2
|
#include <DGtal/geometry/volumes/PConvexity.h>
Public Types | |
using | Integer = TInteger |
using | Point = PointVector< 1, Integer > |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CInteger< TInteger >)) | |
Integer must be a model of the concept CInteger. | |
RecursivePConvexity (Dimension) | |
Default constructor. Nothing to do. | |
Static Public Member Functions | |
static bool | is0Convex (std::vector< Point > X, bool safe) |
static bool | isPConvex (const std::vector< Point > &X, bool safe) |
static double | convexityMeasure (std::vector< Point > X, bool safe) |
static double | fullConvexityMeasure (const std::vector< Point > &X, bool safe) |
Hidden class to represent the P-convexity in a recursive way. Only used to compute P-convexity, but not exposed to users. Specialization for dimension 1
dim | the dimension of the digital space |
TInteger | any model of integer (used to represent digital point coordinates). |
Definition at line 251 of file PConvexity.h.
using DGtal::detail::RecursivePConvexity< 1, TInteger >::Integer = TInteger |
Definition at line 254 of file PConvexity.h.
using DGtal::detail::RecursivePConvexity< 1, TInteger >::Point = PointVector< 1, Integer > |
Definition at line 255 of file PConvexity.h.
|
inline |
DGtal::detail::RecursivePConvexity< 1, TInteger >::BOOST_CONCEPT_ASSERT | ( | (concepts::CInteger< TInteger >) | ) |
Integer must be a model of the concept CInteger.
|
inlinestatic |
X | any range of lattice points (without duplicates) |
safe | is a not used parameter for dimension 1, but is kept for the meta-programming recursive definition of P-convexity. |
Definition at line 307 of file PConvexity.h.
|
inlinestatic |
X | any range of lattice points (without duplicates) |
safe | is a not used parameter for dimension 1, but is kept for the meta-programming recursive definition of P-convexity. |
Definition at line 327 of file PConvexity.h.
References DGtal::detail::RecursivePConvexity< dim, TInteger >::convexityMeasure().
|
inlinestatic |
X | any range of lattice points (without duplicates) |
safe | is a not used parameter for dimension 1, but is kept for the meta-programming recursive definition of P-convexity. |
Definition at line 272 of file PConvexity.h.
|
inlinestatic |
X | any range of lattice points (without duplicates) |
safe | is a not used parameter for dimension 1, but is kept for the meta-programming recursive definition of P-convexity. |
Definition at line 291 of file PConvexity.h.
References DGtal::detail::RecursivePConvexity< dim, TInteger >::is0Convex().