L_VecGetRotation

Summary

Gets the current rotation values.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecGetRotation(pVector, pRotation)

Parameters

const pVECTORHANDLE pVector

Pointer to a vector handle.

pVECTORPOINT pRotation

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

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The rotation values retrieved are those set using L_VecSetRotation, with pObject set to NULL and dwFlags set to 0L.

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

Required DLLs and Libraries

See Also

Functions

Example

For an example, refer to L_VecSetRotation.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.