Example
Is a Point Left of, Right of, or on a Line?
Geometric.js provides three functions to determine where a point is with respect to a line in two-dimensional space.
Drag the circle. The point is classified with geometric.pointLeftofLine, geometric.pointRightofLine, and geometric.pointOnLine.
Position
on
Code