29#if defined(MeasureOfStraightLines_RECURSES)
30#error Recursive header files inclusion detected in MeasureOfStraightLines.h
33#define MeasureOfStraightLines_RECURSES
35#if !defined MeasureOfStraightLines_h
37#define MeasureOfStraightLines_h
43#include "DGtal/base/Common.h"
123 double computeMeasure(
const std::vector<double> &a,
const std::vector<double> &b);
295#include "DGtal/math/MeasureOfStraightLines.ih"
302#undef MeasureOfStraightLines_RECURSES
The aim of this class is to compute the measure in the Lebesgues sense of the set of straight lines a...
double computeMeasure(const std::vector< double > &a, const std::vector< double > &b)
double computeCentroidA(const std::vector< double > &a, const std::vector< double > &b)
double __computeCentroidEdgeApprox_b(double a0, double b0, double a1, double b1)
double computeCentroidEdge_a(double a0, double b0, double a1, double b1)
void setEpsilon(const double aValue)
void selfDisplay(std::ostream &out) const
MeasureOfStraightLines(const MeasureOfStraightLines &other)
double __computeCentroidSquare_b(double x1, double y1, double x2, double y2)
MeasureOfStraightLines & operator=(const MeasureOfStraightLines &other)
double computeMeasureEdge(double a0, double b0, double a1, double b1)
double __computeCentroidTriApprox_b(double a0, double b0, double a1, double b1)
double computeCentroidB(const std::vector< double > &a, const std::vector< double > &b)
~MeasureOfStraightLines()
double computeCentroidEdge_b(double a0, double b0, double a1, double b1)
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)