[Test]
public static void LineSegment3DIntersection()
{
var tolerance = Angle.FromRadians(0.00001);
var l1 = new LineSegment3D(new Point3D(0, 0, 0), new Point3D(10, 0, 0));
var l2 = new LineSegment3D(new Point3D(5, -5, 0), new Point3D(5, 5, 0));
Assert.IsFalse(l1.TryShortestLineTo(l2, tolerance, out _));
}
Throws: System.ArgumentException : The segment starting and ending points cannot be identical
Throws:
System.ArgumentException : The segment starting and ending points cannot be identical