Click or drag to resize

DXFReaderNETControlOrbit Method

Orbits the view about the current target. Each movement of StartPoint rotates the current view around the screen axes, with no stop at the vertical poles. Positions must share one coordinate system with Y increasing upward (screen pixels in the demo). A drag across the control rotates the view by half a turn.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public void Orbit(
	Vector2 StartPoint,
	Vector2 TargetPoint
)

Parameters

StartPoint
Type: DXFReaderNETVector2
Current drag position.
TargetPoint
Type: DXFReaderNETVector2
Drag anchor (mouse-down position). A new anchor starts a new orbit.
See Also