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 Function Side( _ 
ByVal pt As Point2d, _ 
ByVal tol As Double
) As Side
This language is not supported or no code example is available.
public Side Side( 
Point2d pt
double tol 
)
This language is not supported or no code example is available.
public:  
Side Side( 
Point2d^ pt
double tol 
)
This language is not supported or no code example is available.
public function Side( 
pt : Point2d
tol : double 
) : Side;
This language is not supported or no code example is available.

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