Package chunmap.model.elem

Examples of chunmap.model.elem.Envelope.contain()


  @Test
  public void testContain() {
    Envelope envelop1 = new Envelope(10, 16, 20, 22);
    CPoint p = new Coordinate2D(11, 17);

    boolean b1 = envelop1.contain(p);
    assertTrue(b1);
  }

  @Test
  public void testContain2() {
View Full Code Here


  @Test
  public void testContain2() {
    Envelope envelop1 = new Envelope(10, 16, 10, 16);
    CPoint p = new Coordinate2D(10, 16);

    boolean b1 = envelop1.contain(p);
    assertTrue(b1);
  }

  @Test
  public void testContain3() {
View Full Code Here

  @Test
  public void testContain3() {
    CPoint p = new Coordinate2D(10, 16);
    Envelope envelop1 = new GeoPoint(p).getEnvelop();
    boolean b1 = envelop1.contain(p);
    assertTrue(b1);
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.