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
const RealVector & normal() const
bool operator()(const RealPoint &p) const
RealVector::Component Component
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
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)
SpaceND< 2, DGtal::int32_t > Space
ParallelStrip(const ParallelStrip &other)
PointVector< dim, Integer > Point
Points in DGtal::SpaceND.
PointVector< dim, double > RealPoint
PointVector< dim, double > RealVector
PointVector< dim, Integer > Vector
Vectors in DGtal::SpaceND.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
DGtal::uint32_t Dimension
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.