main/src/georegression/geometry/GeometryMath_F64.java
public static void add( double a0, GeoTuple3D_F64 pt0, double a1, GeoTuple3D_F64 pt1, GeoTuple3D_F64 pt2 ) {
		pt2.x = a0 * pt0.x + a1 * pt1.x;
		pt2.y = a0 * pt0.y + a1 * pt1.y;
		pt2.z = a0 * pt0.z + a1 * pt1.z;
	}
public static void add( double a0, GeoTuple3D_F64 pt0, double a1, GeoTuple3D_F64 pt1, GeoTuple3D_F64 pt2 ) {
		pt2.x = a0 * pt0.x + a1 * pt1.x;
		pt2.y = a0 * pt0.y + a1 * pt1.y;
		pt2.z = a0 * pt0.z + a1 * pt1.z;
	}
<p>
Adds two points together while scaling them.<br>
<br>
pt<sub>2</sub> = a<sub>0</sub> pt<sub>0</sub> + a<sub>1</sub> pt<sub>1</sub>
</p>
<p/>
<p>
Point 'c' can be the same instance as 'a' or 'b'.
</p>

@param a0 Scaling factor for pt0.
@param pt0 A point. Not modified.
@param a1 Scaling factor for pt1.
@param pt1 A point. Not modified.
@param pt2 Where the results are stored. Modified.