Point3::+

Point3::+
SF_INLINE const Point3<T> operator +(const Point3<T> & pt) const;
SF_INLINE const Point3<T> operator +(T val) const;
Description

+ operator returns a new Point3 variable whose coordinates are calculated by adding a set value (number or another Point3) to the x, y and z coordinate values of a point parameter.

Parameters
Parameters 
Description 
const Point3<T> & pt 
A point whose coordinates will be added to a fixed value (number or another Point3). 
T val 
A fixed value that will be added to the coordinate values of the point. 
Return Value

A new Point3 resulting from the addition.