CADability dotNET
Checks whether the point P is on the left side of the line given by lstart and ldir. If the point lies exactly on the line, the result is false. There is no precision or epsilon test.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static bool OnLeftSide(
	GeoPoint2D P,
	GeoPoint2D lstart,
	GeoVector2D ldir
)
Visual Basic
Public Shared Function OnLeftSide ( _
	P As GeoPoint2D, _
	lstart As GeoPoint2D, _
	ldir As GeoVector2D _
) As Boolean
Visual C++
public:
static bool OnLeftSide(
	GeoPoint2D P, 
	GeoPoint2D lstart, 
	GeoVector2D ldir
)

Parameters

P
Type: CADability..::..GeoPoint2D
The point to test
lstart
Type: CADability..::..GeoPoint2D
Startpoint of the line
ldir
Type: CADability..::..GeoVector2D
Direction of the line

Return Value

true, if P is on the left side, false otherwise

See Also