CollinearPoints
CollinearPoints[{p1,p2,p3,…,pn}]
tests whether the points p1,p2,p3,…,pn are collinear.
Details
- CollinearPoints is also known as rectilinear.
- Typically used to test whether a set of points lie on the same straight line.
- CollinearPoints[{p1,p2,p3,…,pn}] gives True if the points p3,…,pn are on the line passing through p1 and p2.
- For collinear points p1, p2 and p3, the rank of the matrix {p2-p1,p3-p1} is less than or equal to 1.
Examples
open allclose allBasic Examples (2)
Scope (4)
CollinearPoints works with two-dimensional points:
CollinearPoints works with numerical coordinates:
CollinearPoints over a set of coordinates:
CollinearPoints works for large sets:
Applications (4)
Properties & Relations (5)
PositivelyOrientedPoints returns False for collinear points:
NegativelyOrientedPoints returns False for collinear points:
Collinear points are coplanar:
Use RegionMember to test whether points are collinear:
Use InfiniteLine to draw a graphics image:
Text
Wolfram Research (2020), CollinearPoints, Wolfram Language function, https://reference.wolfram.com/language/ref/CollinearPoints.html.
CMS
Wolfram Language. 2020. "CollinearPoints." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CollinearPoints.html.
APA
Wolfram Language. (2020). CollinearPoints. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CollinearPoints.html