SetPartArc

Name

 

            SetPartArc

 

When to use it

 

            After setting the part information using the SetPart and SetPartVertex.

 

Prototype

 

 

SetPartArc(

            IndexPart: long /*[in]*/,

            IndexStartVertex: long /*[in]*/,

            CenterX: double /*[in]*/,

            CenterY: double /*[in]*/,

            Direction: long /*[in]*/,

            UserDefinedData: long /*[in]*/

);

 

 

Explanation

 

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

            IndexStartVertex - index of the vertex whose coordinates are set.

            CenterX, CenterY - the coordinates of the center of the arc.

            Direction - 0 - counter clockwise, 1 - clockwise.

            UserDefinedData- an user defined value.

 

See also

 

        GetPartArc, SetPart, SetPartVertex, GetPartVertex, NumberOfParts.