iat_collinearity_check

[ CHECK ] = iat_collinearity_check( POINTS )

iat_collinearity_check checks whether a set of three or four 2D points contains three collinear points; homogeneous coordinates are valid.

Input arguments

POINTS 2×3 or 2×4 array of points. When homogeneous coordinates are used, the arrays have size 3×3 or 3×4 respectively

Output arguments

CHECK A logical variable showing if collinearity is detected in POINTS

Back to Index