Orientaion : 0 if neutral, -1 left-hand side, 1 right-hand side

Namespace:  Hyleos.Common.Geometry
Assembly:  Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)

Syntax

C#
public static int Orientation(
	float x1,
	float y1,
	float x2,
	float y2,
	float px,
	float py
)
Visual Basic (Declaration)
Public Shared Function Orientation ( _
	x1 As Single, _
	y1 As Single, _
	x2 As Single, _
	y2 As Single, _
	px As Single, _
	py As Single _
) As Integer
Visual C++
public:
static int Orientation(
	float x1, 
	float y1, 
	float x2, 
	float y2, 
	float px, 
	float py
)

Parameters

x1
Type: System..::.Single
X coordinates of point 1
y1
Type: System..::.Single
Y coordinates of point 1
x2
Type: System..::.Single
X coordinates of point 2
y2
Type: System..::.Single
Y coordinates of point 2
px
Type: System..::.Single
X coordinates of point p
py
Type: System..::.Single
Y coordinates of point p

Return Value

[Missing <returns> documentation for "M:Hyleos.Common.Geometry.Geometry.Orientation(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)"]

See Also