Image Component Library (ICL)
Public Attributes | List of all members
icl::cv::RDPApproximation::ChainPoint Struct Reference
Inheritance diagram for icl::cv::RDPApproximation::ChainPoint:
icl::utils::Point32f

Public Attributes

ChainPointprev
 
ChainPointnext
 
- Public Attributes inherited from icl::utils::Point32f
float x
 x position of this point More...
 
float y
 y position of this point More...
 

Additional Inherited Members

- Public Member Functions inherited from icl::utils::Point32f
 Point32f ()
 default constructor More...
 
 Point32f (const Point32f &p)
 deep copy of a Point More...
 
 Point32f (float x, float y)
 create a special point More...
 
 Point32f (const Point &p)
 craete a point by a given interger point More...
 
bool isNull () const
 checks wether the object instance is null, i.e. all elements are zero More...
 
bool operator== (const Point32f &s) const
 checks if two points are equal More...
 
bool operator!= (const Point32f &s) const
 checks if two points are not equal More...
 
Point32f operator+ (const Point32f &s) const
 adds two Points as vectors More...
 
Point32f operator- (const Point32f &s) const
 substracts two Point32fs as vectors More...
 
Point32f operator * (double d) const
 scales a Point32fs variables with a scalar value More...
 
Point32foperator+= (const Point32f &s)
 Adds another Point32f inplace. More...
 
Point32foperator-= (const Point32f &s)
 Substacts another Point32f inplace. More...
 
Point32foperator *= (double d)
 scales the Point32f inplace with a scalar More...
 
Point32f transform (double xfac, double yfac) const
 transforms the point by element-wise scaling More...
 
float distanceTo (const Point32f &p) const
 returns the euclidian distance to another point More...
 
bool inTriangle (const utils::Point32f &v1, const utils::Point32f &v2, const utils::Point32f &v3) const
 Checks whether the given point p lies within the triangle defined by v1,v2 and v3. More...
 
float norm (float p=2) const
 returns the p-norm of the 2D Vector More...
 
Point32fnormalize ()
 normalized this 2D vector to length=1; More...
 
Point32f normalized () const
 returns a normalized version of this Point More...
 
float & operator[] (int i)
 index based interface (returns i?y:x) More...
 
const float & operator[] (int i) const
 index based interface, const (returns i?y:x) More...
 
- Static Public Attributes inherited from icl::utils::Point32f
static const Point32f null
 null Point is x=0, y=0 More...
 

Member Data Documentation

◆ next

ChainPoint* icl::cv::RDPApproximation::ChainPoint::next

◆ prev

ChainPoint* icl::cv::RDPApproximation::ChainPoint::prev

The documentation for this struct was generated from the following file: