L_VecGetBindVerticesMode

Summary

Gets current vertices bind mode for a vector handle.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecGetBindVerticesMode(pVector)

Parameters

const pVECTORHANDLE pVector

Pointer to a vector handle.

Returns

An L_INT value that represents the Vertices-bind mode for the specified vector handle. Possible values are:

Value Meaning
VECTOR_BIND_VERTICES Vertices are bound. If changes occur to an object, all other objects sharing vertices with that object will be changed too.
VECTOR_UNBIND_VERTICES Vertices are not bound. If changes occur to an object, Other objects sharing vertices with that object will not be effected.

Comments

Default mode is VECTOR_BIND_VERTICES.

Required DLLs and Libraries

See Also

Functions

Example

This example will show the current bind vertices mode in a message box.

L_INT VecGetBindVerticesModeExample(pVECTORHANDLE pVector) 
{ 
   L_INT nMode;            /* Current bind vertices mode */ 
   L_TCHAR szBuffer[ 80 ];   /* Buffer */ 
 
   /* Get current bind vertices mode */ 
   nMode = L_VecGetBindVerticesMode( pVector ); 
 
   /* Show a message box */ 
   if( nMode == VECTOR_BIND_VERTICES ) 
      lstrcpy( szBuffer, TEXT("Vertices are bound")); 
   else 
      lstrcpy( szBuffer, TEXT("Vertices are not bound")); 
 
   MessageBox( NULL, szBuffer, TEXT("Bind Vertices Mode"), 0 ); 
 
   return SUCCESS; 
} 

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.