Click or drag to resize

MathHelperPointsOnLine Method

Determines if a group of 2D vertices belong to a line.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public static bool PointsOnLine(
	List<Vector2> Vertexes
)

Parameters

Vertexes
Type: System.Collections.GenericListVector2
A list of Vector2 objects representing the 2D vertices to be checked.

Return Value

Type: Boolean
True if the vertexes form a straight line, false otherwise.
See Also