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
)
Public Shared Function PointsOnLine (
Vertexes As List(Of Vector2)
) As Boolean
public:
static bool PointsOnLine(
List<Vector2>^ Vertexes
)
static member PointsOnLine :
Vertexes : List<Vector2> -> bool
STATIC METHOD PointsOnLine(
Vertexes AS List<Vector2>
) AS LOGIC
Parameters
- Vertexes
- Type: System.Collections.GenericListVector2
A list of Vector2 objects representing the 2D vertices to be checked.
Return Value
Type:
BooleanTrue if the vertexes form a straight line, false otherwise.
See Also