Backproject
|
Represents a 2 dimensional coordinate in an as yet unspecified unit (e.g. More...
#include <util.h>
Public Member Functions | |
Point (double x, double y) | |
Creates an instance of a point assigning the x and y ordinates. More... | |
Point () | |
the default constructor, necessary since a non-default constructor has been specified; the compiler won't generate this by itself, and it would be very annoying if it were absent; since it would mean users would be forced to specify default values. | |
Public Attributes | |
double | x |
the x ordinate of the point | |
double | y |
the y ordinate of the point. | |
Represents a 2 dimensional coordinate in an as yet unspecified unit (e.g.
pixels or meters)
Point::Point | ( | double | x, |
double | y | ||
) |
Creates an instance of a point assigning the x and y ordinates.
Constructor for the point struct, so that an easy way to construct it with the right values exists.
x | the x ordinate |
y | the y ordinate |
x | x ordinate |
y | y ordinate |