LVectorBase::EnumVerticesCallBack

#include "ltwrappr.h"

virtual L_INT LVectorBase::EnumVerticesCallBack(pVector, pVertex)

pVECTORHANDLE pVector;

/* pointer to a vector handle */

pVECTORPOINT pVertex;

/* pointer to a vector vertex */

Processes each vertex enumerated by the LVectorBase::EnumVertices function.

Parameter

Description

pVector

Pointer to the vector image containing the objects to enumerate.

pVertex

Pointer to the vector vertex being processed.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The LVectorBase::EnumVertices function calls your callback function as it gets the handle of each vector vertex.

To use this function, you must do the following:

1. Derive a class from LVectorBase.

2. Override the L_INT LVectorBase::EnumVerticesCallBack. Function in your class.

3. Before calling LVectorBase::EnumVertices, you must call the member function LBase::EnableCallBack(TRUE).

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::EnumVertices

Topics:

Manipulating Objects or Vertices within a Vector Image

 

Vector Images: Obtaining Object Information

Example

For an example, refer to LVectorBase::EnumVertices.