public void TestIntersection_envelope1() { Assert.IsTrue(CoordinateArrays.Equals( CoordinateArrays.Intersection(Coords1, new Envelope(1, 2, 1, 2)), new[] { new Coordinate(1, 1), new Coordinate(2, 2) } )); }
public void TestIntersection_coords_emptyEnvelope() { Assert.IsTrue(CoordinateArrays.Equals( CoordinateArrays.Intersection(Coords1, new Envelope()), Empty) ); }
public void TestIntersection_empty_envelope() { Assert.IsTrue(CoordinateArrays.Equals( CoordinateArrays.Intersection(Empty, new Envelope(1, 2, 1, 2)), Empty) ); }
public void TestIntersection_envelopeDisjoint() { Assert.IsTrue(CoordinateArrays.Equals( CoordinateArrays.Intersection(Coords1, new Envelope(10, 20, 10, 20)), Empty) ); }