draw

They are variety of drawing functions available in WebCgal. Let's review them with examples:

Points.drawLine(p1, p2)

Result is like this:

Points.drawLines(points)

Warning: Drawing lines between random points is meaningless unless it is not Convex Hull points. As you can see we use this function in convexHull and it yields perfect.

Result is like that with multiple points:

drawCircle({center, radius})

Result is like this: