Package co.ideago.AdvancedPoint

Examples of co.ideago.AdvancedPoint.PointND


   
    double[] pointData = {10.0, 12.0, 12.0, 14.0};
    double[] singlePointA = {1.0};
    double[] singlePointB = {2.0};
   
    PointND point4Dimensions = new PointND(pointData);
    System.out.println(point4Dimensions.distance(point4Dimensions));
   
    // Test 1D Points:
    PointND point1Da = new PointND(singlePointA);
    PointND point1Db = new PointND(singlePointB);
   
    System.out.println(point1Da.distance(point4Dimensions));
   
  }
View Full Code Here

TOP

Related Classes of co.ideago.AdvancedPoint.PointND

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.