31 #if defined(ParallelStrip_RECURSES)
32 #error Recursive header files inclusion detected in ParallelStrip.h
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"
287 #undef ParallelStrip_RECURSES
Aim: A parallel strip in the space is the intersection of two parallel half-planes such that each hal...
Dimension mainAxis() const
Scalar diagonalWidth() const
Scalar myMu
The minimal scalar value of the strip.
bool operator()(const RealPoint &p) const
RealVector::Component Component
Scalar myNu
The width of the strip.
RealVector myN
The unit normal vector N to the strip.
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
const RealVector & normal() const
ParallelStrip(Scalar mu, const RealVector &N, Scalar nu)
bool operator()(const Point &p) const
void getBounds(Scalar &mu, Scalar &mu_plus_nu) const
Space::RealPoint RealPoint
RealPoint::Coordinate Coordinate
Space::RealVector RealVector
ParallelStrip< Space, muIncluded, muPlusNuIncluded > Self
Dimension mainDiagonal() const
void selfDisplay(std::ostream &out) const
ParallelStrip & operator=(const ParallelStrip &other)
ParallelStrip(const ParallelStrip &other)
Component Coordinate
Type for Point elements.
TEuclideanRing Component
Type for Vector elements.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
DGtal::uint32_t Dimension
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.