createAdd2Scaled MethodStatic

create a point that is a linear combination (weighted sum) of 2 input points.

createAdd2Scaled(pointA: Readonly<WritableXYAndZ>, scaleA: number, pointB: Readonly<WritableXYAndZ>, scaleB: number, result?: Point3d): Point3d

Parameter Type Description
pointA Readonly<WritableXYAndZ> first input point
scaleA number scale factor for pointA
pointB Readonly<WritableXYAndZ> second input point
scaleB number scale factor for pointB
result Point3d  

Returns - Point3d

Defined in

Last Updated: 20 June, 2023