|
DGtal 1.4.0
|
Aim: 3D specialization for BoundedLatticePolytope to add dimension specific static methods. More...
#include <DGtal/geometry/volumes/BoundedLatticePolytope.h>
Public Types | |
| typedef TInteger | Integer |
| typedef SpaceND< 3, Integer > | Space |
| typedef Space::Point | Point |
| typedef Space::Vector | Vector |
| typedef BoundedLatticePolytope< Space > | Polytope |
Static Public Member Functions | |
| static void | addEdgeConstraint (Polytope &P, unsigned int i, unsigned int j, const std::vector< Point > &pts) |
| static Vector | crossProduct (const Vector &v1, const Vector &v2) |
Static Public Attributes | |
| static const Dimension | dimension = Space::dimension |
Aim: 3D specialization for BoundedLatticePolytope to add dimension specific static methods.
Description of template class 'BoundedLatticePolytopeSpecializer'
| TInteger | any model of integer. |
Definition at line 933 of file BoundedLatticePolytope.h.
| typedef TInteger DGtal::detail::BoundedLatticePolytopeSpecializer< 3, TInteger >::Integer |
Definition at line 934 of file BoundedLatticePolytope.h.
| typedef Space::Point DGtal::detail::BoundedLatticePolytopeSpecializer< 3, TInteger >::Point |
Definition at line 936 of file BoundedLatticePolytope.h.
| typedef BoundedLatticePolytope< Space > DGtal::detail::BoundedLatticePolytopeSpecializer< 3, TInteger >::Polytope |
Definition at line 938 of file BoundedLatticePolytope.h.
| typedef SpaceND< 3, Integer> DGtal::detail::BoundedLatticePolytopeSpecializer< 3, TInteger >::Space |
Definition at line 935 of file BoundedLatticePolytope.h.
| typedef Space::Vector DGtal::detail::BoundedLatticePolytopeSpecializer< 3, TInteger >::Vector |
Definition at line 937 of file BoundedLatticePolytope.h.
|
inlinestatic |
This method add extremal constraints for simplex edges. Each constraint is a half-space bounded by the edge and one axis. Such constraints are useful when computing the Minkowski sum.
| [in,out] | P | any polytope. |
| [in] | i | any index in the vector of points pts. |
| [in] | j | any index in the vector of points pts. |
| [in] | pts | a vector of points defining a simplex. |
Definition at line 951 of file BoundedLatticePolytope.h.
References DGtal::PointVector< dim, Integer >::base(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::crossProduct(), DGtal::BoundedLatticePolytope< TSpace >::cut(), and DGtal::detail::BoundedLatticePolytopeSpecializer< N, TInteger >::dimension.
|
inlinestatic |
Generic method for cross product, only implemented in 3D.
| v1 | any vector |
| v2 | any vector |
Definition at line 975 of file BoundedLatticePolytope.h.
References DGtal::PointVector< dim, TEuclideanRing, TContainer >::crossProduct().
|
static |
Definition at line 939 of file BoundedLatticePolytope.h.