GetStockVertex

Name

 

            GetStockVertex

 

When to use it

 

            After setting the sizes using the SetStock method and before the OnFinish event ends.

 

Prototype

 

GetStockVertex(

            IndexPiece: long /*[in]*/,

            IndexVertex: long/*[in]*/,

            X: double/*[out]*/,

            Y: double/*[out]*/

);

 

Explanations

 

            Returns the coordinates of the polygon vertices for a stock piece.

 

Parameters

 

            IndexPiece - index of the stock piece whose vertices are to be get.

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

            X, Y - the coordinates of a vertex.

 

See also

 

        SetStock, SetStockVertex