tfep.app.mixedmaf.is_collinear
- tfep.app.mixedmaf.is_collinear(points, tol=0.01)[source]
Check that three points are not collinear.
- Parameters:
points (torch.Tensor) – Shape
(batch_size, 3, 3). The three points.tol (float) – Numerical tolerance for checking collinearity.
- Returns:
is_collinear –
Trueif three points are collinear.Falseotherwise.- Return type:
bool