Object2D
Description
This is output structure for template matching related functions. It groups matched object with its properties.Structure fields and default values (if defined) are described below:
- Rectangle2D Match
- CoordinateSystem2D Alignment
- Point2D Point
- Real Angle
- Real Scale
- Real Score
struct Object2D { Rectangle2D Match; CoordinateSystem2D Alignment; Point2D Point; Real Angle; Real Scale; Real Score; Rectangle2D Match( void ) const { return Match; }; CoordinateSystem2D Alignment( void ) const { return Alignment; }; Point2D Point( void ) const { return Point; }; Real Angle( void ) const { return Angle; }; Real Scale( void ) const { return Scale; }; Real Score( void ) const { return Score; }; bool operator == ( const avl::Object2D& rhs ) const { return Match == rhs.Match && Alignment == rhs.Alignment && Point == rhs.Point && Angle == rhs.Angle && Scale == rhs.Scale && Score == rhs.Score; } bool operator != ( const avl::Object2D& rhs ) const { return !(operator==(rhs)); } };