CL_Point - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# Class CL_Point

2D (x,y) point structure. More...

Derived from: none
Derived by: none
Group: Core (Math)

#include <ClanLib/core.h>

CL_Point | Constructs a point.
rotate | Return a rotated version of this point.
distance | Return the distance to another point.
operator += | Translate point.
operator -= | Translate point negatively.
operator + | Point + Point operator.
operator - | Point - Point operator.
operator == | Point == Point operator (deep compare)
operator != | Point != Point operator (deep compare)
x | X coordinate.
y | Y coordinate.

Detailed description:

!group=Core/Math! !header=core.h!
Questions or comments, write to the ClanLib mailing list.