public void Test_XYZTests_GetTriArea() { XYZ bottom = new XYZ(0, 0, 0); XYZ top = new XYZ(0, 10, 0); XYZ right = new XYZ(10, 10, 0); Assert.Equal(50.0, XYZ.GetTriArea(bottom, top, right)); }
public double Area() => XYZ.GetTriArea(Vertices[0].XYZ, Vertices[1].XYZ, Vertices[2].XYZ);