Click or drag to resize

SurfaceSeries3DBaseSolveNearestDataPointByCoord Method

LightningChart .NET Help
Solve nearest data point to given screen coordinate [input in DIP]. Takes the data point distance from camera into account. Only solves the point when coordinate is over the surface.

Namespace:  Arction.WinForms.Charting.Series3D
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public bool SolveNearestDataPointByCoord(
	int xCoordinate,
	int yCoordinate,
	out SurfacePoint nearestPoint,
	out int columnIndex,
	out int rowIndex
)

Parameters

xCoordinate
Type: SystemInt32
X screen coordinate as DIP
yCoordinate
Type: SystemInt32
Y screen coordinate as DIP
nearestPoint
Type: Arction.WinForms.ChartingSurfacePoint
Nearest point solved
columnIndex
Type: SystemInt32
Column index in Data array
rowIndex
Type: SystemInt32
Row index in Data array

Return Value

Type: Boolean
True if solved, else false.
See Also