GetPartVertex

Name

 

            GetPartVertex

 

When to use it

 

            After setting the sizes using the SetPart and SetPartVertex methods and before the OnFinish event ends.

 

Prototype

 

GetPartVertex(

            IndexPart: long /*[in]*/,

            IndexVertex: long/*[in]*/,

            X: double/*[out]*/,

            Y: double/*[out]*/,

            UserDefinedData: long /*[out]*/

);

 

Explanations

 

            Returns the coordinates of the polygon vertices.

 

Parameters

 

            IndexPart - index of the piece whose vertices are to be get. It must be set between 0 and NumberOfParts - 1.

            IndexVertex - index of the vertex whose coordinates are to be get.

            X, Y - the coordinates of a vertex.

            UserDefinedData- an user defined value.

 

See also

 

    SetPart, SetPartVertex, GetPart, NumberOfParts.