Line2d.Side Method

Checks the relative side of a point to this line. A tolerance decides how close the point can be to the line to be considered to be 'on' the line.
public Side Side( 
   Point2d pt
   double tol 
)

Parameters

pt
Point2d

The point to check side of.

tol
double

The tolerance. (Note that this tolerance is _not_ a distance, but a factor relative the lines length, use epsilon if unsure!)

Return Value

Side

A member of the Side enumeration (Left,Right or On)

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition