62 typedef MySpace::Point MyPoint;
80 board.
saveSVG(
"kernel-domain.svg");
85 trace.
info() <<
"C is inside the domain"<<endl;
87 trace.
info() <<
"C is outside the domain"<<endl;
90 board.
saveSVG(
"kernel-domain-point.svg");
95 MyPoint::Coordinate coord = 24;
96 for(MySpace::Dimension d = 0 ; d < MySpace::dimension; d++)
101 for(MyPoint::Iterator it=r.begin(), itend=r.end() ;
112 trace.
info() <<
"Processing point"<< (*it) << endl;
119 MyDomain::ConstIterator it = itPrec;
120 MyDomain::Vector shift;
124 for( MyDomain::ConstIterator itend =
domain.
end();
128 shift = (*it) -(*itPrec);
131 board.
saveSVG(
"kernel-domain-it-arrow.svg");
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
bool isInside(const Point &p) const
const ConstIterator & begin() const
const ConstIterator & end() const
static void draw(DGtal::Board2D &board, const DGtal::DiscreteExteriorCalculus< dimEmbedded, dimAmbient, TLinearAlgebraBackend, TInteger > &calculus)