|
Point3Collinear Method
|
Gets whether three points lie on the same line.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static bool Collinear(
Point3 p1,
Point3 p2,
Point3 p3
)
Public Shared Function Collinear (
p1 As Point3,
p2 As Point3,
p3 As Point3
) As Boolean
Request Example
View SourceParameters
- p1
- Type: Accord.MathPoint3
The first point. - p2
- Type: Accord.MathPoint3
The second point. - p3
- Type: Accord.MathPoint3
The third point.
Return Value
Type:
BooleanTrue if there is a line passing through all
three points; false otherwise.
See Also