Table of Contents

Method Lerp

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Lerp(Point, Point, double)

Linearly interpolates between two points.

public static Point Lerp(Point a, Point b, double t)

Parameters

a Point

Start point.

b Point

End point.

t double

Interpolation factor in [0,1]. Values outside this range extrapolate.

Returns

Point

The interpolated Point.