|
DGtal 2.0.0
|
#include <DGtal/geometry/volumes/PConvexity.h>
Public Types | |
| using | Integer = TInteger |
| using | Point = PointVector< 1, Integer > |
| using | ProjPoint |
| using | ProjPConvexity |
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. | |
| void | init (Dimension bd=dim) |
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) |
| static ProjPoint | project (const Point &p, Dimension a) |
Data Fields | |
| std::vector< ProjPConvexity > | projp |
| The array of lower dimensional P-convexities. | |
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.
| using DGtal::detail::RecursivePConvexity< dim, TInteger >::ProjPConvexity |
Definition at line 72 of file PConvexity.h.
| using DGtal::detail::RecursivePConvexity< dim, TInteger >::ProjPoint |
Definition at line 71 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().
|
inline |
| bd | the maximum axis of projection. |
Definition at line 83 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 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().
|
inlinestatic |
Projects a point p along dimension a.
| [in] | p | any digital point |
| [in] | a | any dimension |
Definition at line 206 of file PConvexity.h.
| std::vector< ProjPConvexity > DGtal::detail::RecursivePConvexity< dim, TInteger >::projp |
The array of lower dimensional P-convexities.
Definition at line 237 of file PConvexity.h.