31 #if defined(ParallelStrip_RECURSES)
32 #error Recursive header files inclusion detected in ParallelStrip.h
33 #else // defined(ParallelStrip_RECURSES)
35 #define ParallelStrip_RECURSES
37 #if !defined ParallelStrip_h
39 #define ParallelStrip_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/kernel/CSpace.h"
89 template <
typename TSpace,
bool muIncluded = true,
bool muPlusNuIncluded = true>
270 template <
typename TSpace,
bool muIncluded,
bool muPlusNuIncluded>
280 #include "DGtal/geometry/surfaces/ParallelStrip.ih"
285 #endif // !defined ParallelStrip_h
287 #undef ParallelStrip_RECURSES
288 #endif // else defined(ParallelStrip_RECURSES)
Scalar myMu
The minimal scalar value of the strip.
Scalar myNu
The width of the strip.
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.
ParallelStrip(const ParallelStrip &other)
Dimension mainDiagonal() const
Component Coordinate
Type for Point elements.
void getBounds(Scalar &mu, Scalar &mu_plus_nu) const
RealVector::Component Component
Space::RealVector RealVector
void selfDisplay(std::ostream &out) const
DGtal::uint32_t Dimension
ParallelStrip(Scalar mu, const RealVector &N, Scalar nu)
Dimension mainAxis() const
TEuclideanRing Component
Type for Vector elements.
Space::RealPoint RealPoint
DGtal is the top-level namespace which contains all DGtal functions and types.
const RealVector & normal() const
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
bool operator()(const Point &p) const
Aim: A parallel strip in the space is the intersection of two parallel half-planes such that each hal...
bool operator()(const RealPoint &p) const
ParallelStrip & operator=(const ParallelStrip &other)
ParallelStrip< Space, muIncluded, muPlusNuIncluded > Self
RealVector myN
The unit normal vector N to the strip.
Scalar diagonalWidth() const
RealPoint::Coordinate Coordinate