Drawing Robot

San Diego

Curved Line Function

Curved Line Function

Click on the above graphic to view a PDF version of the curved line function.

Case I

Click on the above graphic to view a PDF version of the Case I curved line graphic.

Click on the above graphic to view a PDF version of the Case II curved line graphic.

Case II

The Curved Line Function

The curved line function { curvedline( x1, y1, x2, y2, h, ptsPerRadian ) } is used to plot a curved line on the whiteboard.

 

           x1, y1 are the coordinates for the starting point of the curved line and x2, y2 are the coordinates for the ending point.

 

           ptsPerRadian is the number of points per radian that you want to plot on the curved line.

 

           h is the distance between the chord and the top of the circle.  ( see graphics below )

 

           The curved line is always a segment of the circumference of a circle.