Package classes

Examples of classes.PointR


  }
 
  @Test
  public void testFindBoxTooFewPoints() {
    List<PointR> a = new ArrayList<PointR>();
    a.add(new PointR(Double.MIN_VALUE, Double.MIN_VALUE, 0));
    a.add(new PointR(5, 8, 0));
    a.add(new PointR(9, 2, 0));

    try {
      RectangleR.findBox(a);
    } catch (NotEnoughPointsException e) {
      assertTrue(true);
View Full Code Here


  }
 
  @Test
  public void testFindBox() {
    List<PointR> a = new ArrayList<PointR>();
    a.add(new PointR(1, 6, 0));
    a.add(new PointR(2, 9, 0));
    a.add(new PointR(9, 8, 0));
    a.add(new PointR(6, 5, 0));
    a.add(new PointR(8, 4, 0));
   
    RectangleR box = null;
   
    try {
      box = RectangleR.findBox(a);
View Full Code Here

TOP

Related Classes of classes.PointR

Copyright © 2018 www.massapicom. 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.