LVectorBase::GetRotation

#include "ltwrappr.h"

virtual L_INT LVectorBase::GetRotation(pRotation)

pVECTORPOINT pRotation;

/* pointer to a vector point */

Gets the current rotation values.

Parameter

Description

pRotation

Pointer to a VECTORPOINT structure to be updated with the current rotation values. The rotation values are in degrees.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The rotation values retrieved are those set using LVectorBase::SetRotation, with pObject set to NULL and bSelectedOnly set to FALSE.

The default rotation angle values are 0.0, 0.0, and 0.0 for the X, Y and Z axes.

Required DLLs and Libraries

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LVectorBase::SetRotation, LVectorBase::SetScale, LVectorBase::GetScale, LVectorBase::SetTranslation, LVectorBase::GetTranslation, LVectorBase::SetBindVerticesMode, LVectorBase::GetBindVerticesMode

Topics:

Rotating, Translating, Scaling Vector Images

 

Vector Images: Modifying Vector Object Characteristics

Example

For an example, refer to LVectorBase::EnableAlwaysEndNotification.