|
DGtal 2.1.0
|
Aim: the common part of all geometric kernels for computing the convex hull or Delaunay triangulation of a range of points. More...
#include <DGtal/geometry/tools/QuickHullKernels.h>
Data Structures | |
| class | HalfSpace |
Static Public Attributes | |
| static const Dimension | dimension = dim |
Aim: the common part of all geometric kernels for computing the convex hull or Delaunay triangulation of a range of points.
Description of template class 'ConvexHullCommonKernel'
| dim | the dimension of the space that is used for computing the convex hull (either the same as input points for convex hull, or one more than input points for Delaunay triangulation) |
| TCoordinateInteger | the integer type that represents coordinates of lattice points, a model of concepts::CInteger. |
| TInternalInteger | the integer type that is used for internal computations of above/below plane tests, a model of concepts::CInteger. Must be at least as precise as TCoordinateInteger. |
Definition at line 180 of file QuickHullKernels.h.
| typedef std::array< Index, dim > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::CombinatorialPlaneSimplex |
Definition at line 197 of file QuickHullKernels.h.
| typedef TCoordinateInteger DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::CoordinateInteger |
Definition at line 183 of file QuickHullKernels.h.
| typedef DGtal::PointVector< dim, CoordinateInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::CoordinatePoint |
Definition at line 190 of file QuickHullKernels.h.
| typedef CoordinateInteger DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::CoordinateScalar |
Definition at line 186 of file QuickHullKernels.h.
| typedef DGtal::PointVector< dim, CoordinateInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::CoordinateVector |
Definition at line 191 of file QuickHullKernels.h.
| typedef Size DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::Index |
Definition at line 195 of file QuickHullKernels.h.
| typedef std::vector< Index > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::IndexRange |
Definition at line 196 of file QuickHullKernels.h.
| typedef IntegerConverter< dim, InternalInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::Inner |
Converter to inner internal integers or lattice points / vector.
Definition at line 205 of file QuickHullKernels.h.
| typedef TInternalInteger DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::InternalInteger |
Definition at line 184 of file QuickHullKernels.h.
| typedef DGtal::PointVector< dim, InternalInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::InternalPoint |
Definition at line 192 of file QuickHullKernels.h.
| typedef InternalInteger DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::InternalScalar |
Definition at line 187 of file QuickHullKernels.h.
| typedef DGtal::PointVector< dim, InternalInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::InternalVector |
Definition at line 193 of file QuickHullKernels.h.
| typedef ConvexHullCommonKernel< dim-1, TCoordinateInteger, TInternalInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::LowerSelf |
Definition at line 201 of file QuickHullKernels.h.
| typedef IntegerConverter< dim, CoordinateInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::Outer |
Converter to outer coordinate integers or lattice points / vector.
Definition at line 203 of file QuickHullKernels.h.
| typedef ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger > DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::Self |
Definition at line 200 of file QuickHullKernels.h.
| typedef std::size_t DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::Size |
Definition at line 194 of file QuickHullKernels.h.
|
default |
Default constructor.
|
inline |
| H | the half-space |
| p | any point |
Definition at line 329 of file QuickHullKernels.h.
|
inline |
| H | the half-space |
| p | any point |
Definition at line 335 of file QuickHullKernels.h.
| DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::BOOST_CONCEPT_ASSERT | ( | (concepts::CInteger< TCoordinateInteger >) | ) |
| DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::BOOST_CONCEPT_ASSERT | ( | (concepts::CInteger< TInternalInteger >) | ) |
|
inline |
Computes an halfspace from dimension points specified by simplex with vertices in a range vpoints of Point. Orientation is induced by the order of the points. If the simplex is degenerated, the half-space is invalid and has null normal.
| [in] | vpoints | a range of points over which the simplex is defined. |
| [in] | simplex | a range of dimension indices of points defining an hyperplane. |
Definition at line 261 of file QuickHullKernels.h.
|
inline |
Computes an halfspace from dimension points specified by simplex with vertices in a range vpoints of Point. It is oriented such that the point of index idx_below is included in the half-space (i.e. below).
| [in] | vpoints | a range of points over which the simplex is defined. |
| [in] | simplex | a range of dimension indices of points defining an hyperplane. |
| [in] | idx_below | the index of a p-oint that is below the hyperplane. |
Definition at line 234 of file QuickHullKernels.h.
Referenced by compute().
|
inline |
Equivalent of the dot product of the normals of the half-spaces.
| H1 | an half-space |
| H2 | an half-space |
Definition at line 293 of file QuickHullKernels.h.
|
inline |
| H1 | an half-space |
| H2 | an half-space |
Definition at line 306 of file QuickHullKernels.h.
|
inline |
| H | the half-space |
| p | any point |
Definition at line 314 of file QuickHullKernels.h.
Referenced by above(), aboveOrOn(), DGtal::ConvexHullCommonKernel< dim, TCoordinateInteger, TInternalInteger >::HalfSpace::ConvexHullCommonKernel< dim, CoordinateInteger, InternalInteger >, and volume().
|
inline |
| H | the half-space |
Definition at line 280 of file QuickHullKernels.h.
|
inline |
| H | the half-space |
Definition at line 273 of file QuickHullKernels.h.
|
inline |
| H | the half-space |
| p | any point |
Definition at line 341 of file QuickHullKernels.h.
|
inline |
| H | the half-space |
| p | any point |
Definition at line 320 of file QuickHullKernels.h.
|
static |
Definition at line 198 of file QuickHullKernels.h.