32#include "ConfigExamples.h"
33#include "DGtal/helpers/StdDefs.h"
34#include "DGtal/base/Common.h"
35#include "DGtal/geometry/surfaces/DigitalPlanePredicate.h"
36#include "DGtal/geometry/surfaces/estimation/PlaneProbingParallelepipedEstimator.h"
50int main(
int argc,
const char** argv)
52 const int height = (argc > 1) ? std::atoi(argv[1]) : 2;
53 std::cout <<
"height=" << height << std::endl;
60 std::array<Point, 3> m = {
Point(1, 0, 0),
Point(0, 1, 0),
Point(0, 0, 1) };
69 std::clog <<
"it = " << it <<
" "
70 << estimator.
m(0) <<
" " << estimator.
m(1) <<
" " << estimator.
m(2) <<
" "
Aim: Representing digital planes, which are digitizations of Euclidean planes, as point predicates.
typename Space::Point Point
typename Space::Vector Vector
bool isInReverseState() const
Vector m(int aIndex) const
bool advance(std::vector< PointOnProbingRay > const &aNeighbors)
DigitalPlane::Point Vector
Point::Coordinate Integer
DigitalPlane::Vector Point
DGtal is the top-level namespace which contains all DGtal functions and types.