Public Member Functions | Public Attributes | List of all members
Celartem::Point Struct Reference

#include <cel_geom.h>

Public Member Functions

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

Public Attributes

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

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
inXX-coordinate of a point.
inYY-coordinate of a point.

Member Function Documentation

void Celartem::Point::zeroReset ( )
inline

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

Member Data Documentation

ssize_t Celartem::Point::x
ssize_t Celartem::Point::y

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo