Functions
Link copied to clipboard
Constructs a line segment between two 2D points.
Creates a quadratic Bézier curve defined by three control points.
Creates a cubic Bézier curve defined by four control points.
Link copied to clipboard
Computes the signed distance from a point p
to a line defined by two points a
and b
. The sign of the distance indicates on which side of the line the point p
resides.