public void TestPointToPlane_PointToBackOfPlane() { Point staticPoint = new Point(new Vector3(-5, -3, 6)); float expected = -5; float actual = DistanceMetrics.PointToPlane(staticPoint, modelPoint); Assert.AreEqual(expected, actual, tolerance); }
public void TestPointToPlane_PointInFrontOfPlane() { Point staticPoint = new Point(new Vector3(3, 5, 7)); float expected = 3; float actual = DistanceMetrics.PointToPlane(staticPoint, modelPoint); Assert.AreEqual(expected, actual, tolerance); }