STK Graphics PrimitivesSend comments on this topic.
ViewDirection Method (IAgStkGraphicsCamera)
See Also
Axes
The Axes of rotation. Axes will be set to this.
CameraPosition
The Point that will be evaluated at the animation time to get Position.
Direction
The Vector that will be evaluated at the animation time to get Direction.
Windows





Windows & Linux

Description

Views from a point to a direction. Sets the camera's position and the direction vector indicating where the camera is looking.

Syntax

[Visual Basic .NET]
Public Sub ViewDirection( _
    ByVal Axes As IAgCrdnAxes, _
    ByVal CameraPosition As IAgCrdnPoint, _
    ByVal Direction As IAgCrdnVector _
)
[Managed C++]
public: void ViewDirection(
    IAgCrdnAxes ^ Axes,
    IAgCrdnPoint ^ CameraPosition,
    IAgCrdnVector ^ Direction
);
[Unmanaged C++]
public: HRESULT ViewDirection(
    IAgCrdnAxes * Axes,
    IAgCrdnPoint * CameraPosition,
    IAgCrdnVector * Direction
);
[Java]
public void viewDirection(
    IAgCrdnAxes Axes,
    IAgCrdnPoint CameraPosition,
    IAgCrdnVector Direction
);
[Python - STK API ]
def ViewDirection(self, Axes:"IAgCrdnAxes", CameraPosition:"IAgCrdnPoint", Direction:"IAgCrdnVector") -> None:

Parameters

Axes
The Axes of rotation. Axes will be set to this.
CameraPosition
The Point that will be evaluated at the animation time to get Position.
Direction
The Vector that will be evaluated at the animation time to get Direction.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.