LinearGetLinePoint Method

Return the point on the line relative to a decimal portion of the distance t between point 0.0 and point 1.0.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static FPoint GetLinePoint(
	FPoint point0,
	FPoint point1,
	float t
)

Parameters

point0  FPoint
Reference to the first line point.
point1  FPoint
Reference to the second line point.
t  Single
The decimal portion along the line upon which the return point rests, relative to point 1. In other words, on a line from 0, 0 to 100, 100, a value of t = 1 would yield the point 100, 100.

Return Value

FPoint
A reference to the point on the line, relative to point 1, identified by t, if found. Otherwise, null.

See Also