Click or drag to resize

ChartToolsSolvePointBetweenPoints Method (PointFloat, PointFloat, Single, PointFloat)

LightningChart .NET Help
Solve point within a line going from Point1 to Point2.

Namespace:  Arction.WinForms.Charting
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static bool SolvePointBetweenPoints(
	PointFloat point1,
	PointFloat point2,
	float distanceFromP1,
	out PointFloat result
)

Parameters

point1
Type: Arction.WinForms.ChartingPointFloat
First point.
point2
Type: Arction.WinForms.ChartingPointFloat
Second point.
distanceFromP1
Type: SystemSingle
Distance from Point1 towards Point2.
result
Type: Arction.WinForms.ChartingPointFloat
Solved point.

Return Value

Type: Boolean
Returns true if successfully solved (length is not 0).
See Also