Click or drag to resize

PointD3DInterpolate Method

Interpolates between the points p0 and p1.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static PointD3D Interpolate(
	PointD3D p0,
	PointD3D p1,
	double r
)

Parameters

p0  PointD3D
The first point.
p1  PointD3D
The second point.
r  Double
Relative way between p0 and p1 (0..1).

Return Value

PointD3D
Interpolation between p0 and p1. The return value is p0 if r is 0. The return value is p1 if r is 1.
See Also