Point::Point

Point::Point
inline Point();
inline explicit Point(T value);
inline Point(T x2, T y2);
inline Point(const Point<T> & pt);
Description

Point class constructors initialize the new instance of the point with the specified coordinates. If no parameters are passed, the x and y values are undefined.

Parameters
Parameters 
Description 
T x2 
A value which initializes the x coordinate value. 
T y2 
A value which initializes the y coordinate value. 
const Point<T> & pt 
A point whose x and y coordinate values initialize the local x and y coordinates respectively. 
val 
A value which initializes both the x and y coordinate values.