CoordinateSystem2D
Description
Represents a bounded local coordinate system consisting of a reference point, rotation and scale. Typically used to store results of template-matching routines.
struct CoordinateSystem2D { CoordinateSystem2D(); CoordinateSystem2D( const Point2D& origin_, atl::real angle_, atl::real scale_ = 1.0f ); CoordinateSystem2D( const Vector2D& delta, atl::real angle_, atl::real scale_ = 1.0f )' CoordinateSystem2D( atl::real x_, atl::real y_, atl::real angle_, atl::real scale_ = 1.0f ); Point2D origin; atl::real angle; atl::real scale; Point2D Origin( void ) const; atl::real Angle( void ) const; atl::real Scale( void ) const; atl::real X( void ) const; atl::real Y( void ) const; bool operator == ( const CoordinateSystem2D& rhs ) const; bool operator != ( const CoordinateSystem2D& rhs ) const; };
Structure Fields
Type fields and default values (if defined) are described below:
Name | Type | Default | Description |
---|---|---|---|
Origin | Point2D | ||
Angle | Real | ||
Scale | real | 1.0f |