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.Wpf.ChartingMVVM
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public static bool SolvePointBetweenPoints(
	PointFloat point1,
	PointFloat point2,
	float distanceFromP1,
	out PointFloat result
)

Parameters

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

Return Value

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