Offset offsets the point by adding values to its coordinate values. A call to the Offset function is equivalent to calling the += operator.
Parameters |
Description |
const Point3<T> & pt |
A point whose coordinate values are added to the coordinate values of the original point. |
T val | |
T x2 |
Variable whose value is added to the x coordinate of the current point. |
T y2 |
Variable whose value is added to the y coordinate of the current point. |
T z2 |
Variable whose value is added to the z coordinate of the current point. |
Point3 resulting from the offset operation.