L_VecGetTranslation

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecGetTranslation(pVector, pTranslation)

Gets the current translation values.

Parameters

const pVECTORHANDLE pVector

Pointer to a vector handle.

pVECTORPOINT pTranslation

Pointer to a VECTORPOINT structure to be updated with the current translation values. The translation values are in logical units.

Returns

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

Comments

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

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

Required DLLs and Libraries

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

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