Point3::+=

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

+= operator adds a set value (number or another Point3) to the coordinates of the current point.

Parameters
Parameters 
Description 
const Point3<T> & pt 
A point whose coordinate values are added to the coordinate values of the current point. 
T val 
A fixed value added to the x, y and z coordinate values of the current point. 
Return Value

A new Point3 resulting from the addition.