Click or drag to resize

ConcaveHullSignOfCrossProduct Method

Determines whether a point is right, left or on the (infinite long!) line that is defined by the provided line segment.

Namespace: Altaxo.Geometry.Int64_2D
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static int SignOfCrossProduct(
	 in Int64LineSegment a,
	 in IntPoint b
)

Parameters

a  Int64LineSegment
The line segment.
b  IntPoint
The point to test.

Return Value

Int32
0 if the point is on, -1 if it is right, and +1 if it is left on/to the infinite long line that is defined by the line segment.
See Also