logo

Macro Programming

logo
Contents

point Class Reference

point More...

#include <point.h>

List of all members.


Public Member Functions

void set (int x, int y)
 set xy
void setX (int x)
 set x
void setY (int y)
 set y
int x ()
 x
int y ()
 y

Detailed Description

point

A single point


Member Function Documentation

void point::set ( int  x,
int  y 
)

set xy

Set the x and y coordinates.

void point::setX ( int  x  ) 

set x

Set the x coordinate.

void point::setY ( int  y  ) 

set y

Set the y coordinate.

int point::x (  ) 

x

Returns:
x x-value

int point::y (  ) 

y

Returns:
y y-value


Contents
SourceForge.net Logo