|
WXP C++ Library Version 6.74.9
|
This struct defines a set of parameters for rectangular regions. More...
#include "../include/Coords.h"
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 () |
Public Attributes | |
| float | xmin |
| float | ymin |
| float | xmax |
| float | ymax |
| float | xext |
| float | yext |
Friends | |
| class | GTran |
This struct defines a set of parameters for rectangular regions.
| 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
| x1 | X coordinate of first point |
| y1 | Y coordinate of first point |
| x2 | X coordinate of second point |
| y2 | Y coordinate of second point |
| int Coords::init | ( | ) |
| 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
| x1 | X coordinate of first point |
| y1 | Y coordinate of first point |
| x2 | X coordinate of second point |
| y2 | Y coordinate of second point |