Click or drag to resize

GraphicBaseMovementGripHandleGetMoveVectorInWorldCoordinates Method

Calculates a difference vector for moving a handle or an object.

Namespace: Altaxo.Graph.Graph3D.Shapes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static VectorD3D GetMoveVectorInWorldCoordinates(
	HitTestPointData initialMousePosition,
	HitTestPointData currentMousePosition,
	PointD3D initialObjectHitPositionLocalCoordinates
)

Parameters

initialMousePosition  HitTestPointData
The initial mouse position at begin of the move operation.
currentMousePosition  HitTestPointData
The current mouse position.
initialObjectHitPositionLocalCoordinates  PointD3D
The initial position in local coordinates where the object or the handle was hit.

Return Value

VectorD3D
A difference vector (in world coordinates) that can be used to move the object or handle around.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException
See Also