59 start(start),end(end){}
91 return findClosestPoint(p).distanceTo(p);
101 float *dstr=0,
float *dsts=0)
const;
undocument this line if you encounter any issues!
Definition: Any.h:37
ICLCore_API std::istream & operator>>(std::istream &s, format &f)
puts a string representation of format into the given stream
ICLCore_API std::ostream & operator<<(std::ostream &s, const format &f)
puts a string representation of format into the given stream
utils::Point start
start point of this line
Definition: Line.h:119
static const Rect null
null Rect is w=0, h=0, x=0, y=0
Definition: Rect.h:99
The ICLs abstract line class describing a line from Point "start" to Point "end".
Definition: Line.h:48
float getMinDist(const utils::Point &p) const
returns the minimum distance of the line to a given point
Definition: Line.h:90
void swap()
swaps the lines start and end point internally
Definition: Line.h:116
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
utils::Point end
end point of this line
Definition: Line.h:122
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
Line(utils::Point start=utils::Point::null, utils::Point end=utils::Point::null)
Creates a new line from point "start" to point "end".
Definition: Line.h:57
static const Point null
null Point is x=0, y=0
Definition: Point.h:61
Line operator+(const utils::Point &p) const
translates a line by a given vector
Definition: Line.h:72
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
Line operator-(const utils::Point &p) const
translates a line by a given vector (negative direction)
Definition: Line.h:78
#define ICLCore_API
Definition: CompatMacros.h:174