Vector2D

Description

Represents a two-dimensional relative coordinates.

struct Vector2D
{
	Vector2D();
	Vector2D( atl::real x, atl::real y );
	Vector2D( Point2D from, Point2D to);

	atl::real deltaX;
	atl::real deltaY;

	atl::real DeltaX( void ) const;
	atl::real DeltaY( void ) const;

	bool operator == ( const Vector2D& rhs ) const;
	bool operator != ( const Vector2D& rhs ) const;

	Vector2D operator - () const;
};

Structure Fields

Type fields and default values (if defined) are described below:

Name Type Description
DeltaX Real
DeltaY Real