Click or drag to resize

G3DPlotItemGetNearestPlotPoint Method

Returns the index of a scatter point that is closest to the location hitpoint

Namespace: Altaxo.Graph.Graph3D.Plot
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public XYZScatterPointInformation? GetNearestPlotPoint(
	IPlotArea layer,
	HitTestPointData hitpoint
)

Parameters

layer  IPlotArea
The layer in which this plot item is drawn into.
hitpoint  HitTestPointData
The point where the mouse is pressed.

Return Value

XYZScatterPointInformation
The information about the point that is nearest to the location, or null if it can not be determined.
See Also