SetPartHoleArc
Name
SetPartHoleArc
When to use it
After setting the part information using the SetPart, SetPartHole and SetPartHoleVertex methods.
Prototype
SetPartHoleArc(
IndexPart: long /*[in]*/,
IndexHole: long /*[in]*/,
IndexStartVertex: long /*[in]*/,
CenterX: double /*[in]*/,
CenterY: double /*[in]*/,
Direction: long /*[in]*/,
UserDefinedData: long /*[in]*/
);
Explanations
Sets the information regarding the polygon representing the piece to be cut. Vertices can be connected either by straight lines or arcs. This method sets the arc information (if existing). The extremities of the arc are IndexStartVertex and the next one.
Parameters
IndexPart - index of the piece whose information is to be set.
IndexHole - index of the hole whose information is to be set.
IndexStartVertex - index of the vertex whose coordinates are set.
CenterX, CenterY - the coordinates of the centre of the arc.
Direction - 0 - counter clockwise, 1 - clockwise.
UserDefinedData- an user defined value.
See also
GetPartHoleArc, SetPartHole, SetPartHoleVertex, GetPartArc, SetPart, SetPartVertex, GetPartVertex.