GraphicBaseMovementGripHandleGetMoveVectorInWorldCoordinates Method |
Calculates a difference vector for moving a handle or an object.
Namespace: Altaxo.Graph.Graph3D.ShapesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
VectorD3DA difference vector (in world coordinates) that can be used to move the object or handle around.
Exceptions See Also