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
Syntaxpublic void Orbit(
Vector2 StartPoint,
Vector2 TargetPoint
)
Public Sub Orbit (
StartPoint As Vector2,
TargetPoint As Vector2
)
public:
void Orbit(
Vector2 StartPoint,
Vector2 TargetPoint
)
member Orbit :
StartPoint : Vector2 *
TargetPoint : Vector2 -> unit
METHOD Orbit(
StartPoint AS Vector2,
TargetPoint AS Vector2
) AS VOID
Parameters
- StartPoint
- Type: DXFReaderNETVector2
Current drag position. - TargetPoint
- Type: DXFReaderNETVector2
Drag anchor (mouse-down position). A new anchor starts a new orbit.
See Also