FLineIntersect(FPoint, FPoint, FPoint, Single) Method

Given line AB that has one point nearer than the Point C vector magnitude and one point further away, return Point D where vector C intersects line AB.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static FPoint Intersect(
	FPoint pointA,
	FPoint pointB,
	FPoint vector,
	float magnitude
)

Parameters

pointA  FPoint
Reference to point A in line AB.
pointB  FPoint
Reference to point B in line AB.
vector  FPoint
Reference to the vector C point.
magnitude  Single
The magnitude of vector C.

Return Value

FPoint
Reference to point D where vector C intersects line AB, if a point could be matched. Otherwise, null.

See Also