Click or drag to resize

Graph3DControllerFindGraphObjectAtPixelPosition Method

Looks for a graph object at the position given by hitData and returns true if one is found.

Namespace: Altaxo.Gui.Graph.Graph3D.Viewing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool FindGraphObjectAtPixelPosition(
	HitTestPointData hitData,
	bool plotItemsOnly,
	out IHitTestObject foundObject,
	out int[] foundInLayerNumber
)

Parameters

hitData  HitTestPointData
The position of the mouse, expressed as transformation, that when applied, transformes the mouse coordinate to the point x=0, y=0, z=-Infinity....+Infinity.
plotItemsOnly  Boolean
If true, only the plot items where hit tested.
foundObject  IHitTestObject
Found object if there is one found, else null
foundInLayerNumber  Int32
The layer the found object belongs to, otherwise 0

Return Value

Boolean
True if a object was found at the position given by hitData, else false.
See Also