WXP::Coords Class Reference
[Utility objects]

This class defines a set of parameters for rectangular regions. More...

#include "../include/Coords.h"

List of all members.

Public Member Functions

int init ()
 Coords ()
 Coords (float x1, float y1, float x2, float y2)
int set (float x1, float y1, float x2, float y2)
int print ()

Friends

class GTran

Detailed Description

This class defines a set of parameters for rectangular regions.

Author:
Dan Vietor

Constructor & Destructor Documentation

Coords::Coords (  ) 

Constructor. Initializes values

References init().

Coords::Coords ( float  x1,
float  y1,
float  x2,
float  y2 
)

Constructor. Sets the values given opposite points of rectangular region

Parameters:
x1 X coordinate of first point
y1 Y coordinate of first point
x2 X coordinate of second point
y2 Y coordinate of second point

Member Function Documentation

int Coords::init (  ) 

Initializes the class values

References WXP::Const::MISS.

Referenced by Coords().

int Coords::print (  ) 

Prints the class values to standard output

int Coords::set ( float  x1,
float  y1,
float  x2,
float  y2 
)

Sets the values given opposite points of rectangular region

Parameters:
x1 X coordinate of first point
y1 Y coordinate of first point
x2 X coordinate of second point
y2 Y coordinate of second point

The documentation for this class was generated from the following files:

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1