GetStockHoleVertex
Name
GetStockHoleVertex
When to use it
After setting the sizes using the SetStock, SetStockHole and SetStockHoleVertex methods and before the OnFinish event ends.
Prototype
GetStockHoleVertex(
IndexStock: long /*[in]*/,
IndexHole: long /*[in]*/,
IndexVertex: long/*[in]*/,
X: double/*[out]*/,
Y: double/*[out]*/
);
Explanations
Returns the coordinates of the polygon vertices for a hole of a stock piece.
Parameters
IndexPiece - index of the stock piece whose vertices are to be get.
IndexHole - the index of the hole whose information 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, SetStockHole, SetStockHoleVertex.