GetPartHoleVertex

Name

 

            GetPartHoleVertex

 

When to use it

 

            After setting the sizes using the SetPart, SetPartHole and SetPartHoleVertex methods and before the OnFinish event ends.

 

Prototype

 

GetPartHoleVertex(

            IndexPart: long /*[in]*/,

            IndexHole: 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 part whose vertices are to be get. It must be set between 0 and NumberOfParts - 1.

            IndexHole - index of the hole whose vertices are to be get.

            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, SetPartHole, SetPartHoleVertex, SetPartVertex, GetPart.