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

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.
 

Detailed Description

Represents a 2 dimensional coordinate in an as yet unspecified unit (e.g.

pixels or meters)

Constructor & Destructor Documentation

§ Point()

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.

Parameters
xthe x ordinate
ythe y ordinate
xx ordinate
yy ordinate

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