IMathGetPointOnLine Method

Calculates a point on a Line with a certain distance from the start point.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static PointD GetPointOnLine(
	PointD from,
	PointD to,
	double dist
)

Parameters

from  PointD
Start Point of the Line
to  PointD
End Point of the Line
dist  Double
Distance from Start Point

Return Value

PointD

See Also