Circle2D

Description

Represents a circle described by its center and radius length.

struct Circle2D
{		
	Point2D center;
	atl::real radius;
	
	atl::real Radius( void ) const;
	Point2D Center( void ) const;
	atl::real X( void ) const;	
	atl::real Y( void ) const;	

	bool operator == ( const avl::Circle2D& rhs ) const;

	bool operator != ( const avl::Circle2D& rhs ) const;
};

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

struct Circle2D
{
	Point2D	Center;
	real	Radius;


	Point2D Center( void ) const	{ return Center;	};
	real Radius( void ) const		{ return Radius;	};

	bool operator == ( const avl::Circle2D& rhs ) const
	{
		return Center == rhs.Center && 
			Radius == rhs.Radius;
	}

	bool operator != ( const avl::Circle2D& rhs ) const
	{
		return !(operator==(rhs));
	}

};