skspatial.objects.Points.are_concurrent

Points.are_concurrent(**kwargs) bool[source]

Check if the points are all contained in one point.

Parameters
kwargsdict, optional

Additional keywords passed to numpy.linalg.matrix_rank()

Returns
bool

True if points are concurrent; false otherwise.

Examples

>>> from skspatial.objects import Points
>>> Points([[0, 0], [1, 1], [1, 1]]).are_concurrent()
False
>>> Points([[1, 1], [1, 1], [1, 1]]).are_concurrent()
True