Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private static bool IsEdgeBNearEdgeA(string a_str, string b_str, double max_error_degrees) { var a = MakePolylineOrDie(a_str); Assert.Equal(2, a.NumVertices()); var b = MakePolylineOrDie(b_str); Assert.Equal(2, b.NumVertices()); return(S2.IsEdgeBNearEdgeA( a.Vertex(0), a.Vertex(1), b.Vertex(0), b.Vertex(1), S1Angle.FromDegrees(max_error_degrees))); }