Public Member Functions | Public Attributes

Celartem::Point Struct Reference

#include <cel_geom.h>

List of all members.

Public Member Functions

 Point (ssize_t inX=0, ssize_t inY=0)
void zeroReset ()

Public Attributes

ssize_t x
 X-coordinate of the point.
ssize_t y
 Y-coordinate of the point.

Detailed Description

The Point struct stores the position (X,Y) of a point.


Constructor & Destructor Documentation

Celartem::Point::Point ( ssize_t  inX = 0,
ssize_t  inY = 0 
) [inline]

This constructor initializes the instance with specified position.

Parameters:
inX X-coordinate of a point.
inY Y-coordinate of a point.

Member Function Documentation

void Celartem::Point::zeroReset (  )  [inline]

This function moves the point position to (0, 0).


Member Data Documentation


The documentation for this struct was generated from the following file:

This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:17.
Caminova Logo