CADability dotNET
Returns true, if p1 an p2 are on the same side of the line given by p3 and p4. Also returns true if one of the two points p1 and p2 coincide with the line (p3,p4)

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

Syntax

C#
public static bool OnSameSide(
	GeoPoint2D p1,
	GeoPoint2D p2,
	GeoPoint2D p3,
	GeoPoint2D p4
)
Visual Basic
Public Shared Function OnSameSide ( _
	p1 As GeoPoint2D, _
	p2 As GeoPoint2D, _
	p3 As GeoPoint2D, _
	p4 As GeoPoint2D _
) As Boolean
Visual C++
public:
static bool OnSameSide(
	GeoPoint2D p1, 
	GeoPoint2D p2, 
	GeoPoint2D p3, 
	GeoPoint2D p4
)

Parameters

p1
Type: CADability..::..GeoPoint2D
first testpoint
p2
Type: CADability..::..GeoPoint2D
second testpoint
p3
Type: CADability..::..GeoPoint2D
first linepoint
p4
Type: CADability..::..GeoPoint2D
second linepoint

Return Value

true if on the same side

See Also