com.c5corp.c5utm
Class ArtificialPoints

java.lang.Object
  extended by com.c5corp.c5utm.ArtificialPoints

public class ArtificialPoints
extends java.lang.Object

public class Points

ArtificialPoints contains a single static method, public static Points getPoints(UtmCoordinatePairElev[][]), which will build a Points object from programatic data (An array of UtmCoordinatePairElev[][]) instead of pulling an existing Points object from the relational database. This is useful for making artificial landscapes or creating database-like (com.c5corp.c5utm) objects from some non-database data source, such as a Dem.

Since:
1.0.3
Author:
Brett Stalbaum Copyright 2002-2006 see LICENSE.txt and UCSD_LICENSE.txt
See Also:
UtmCoordinatePairElev

Constructor Summary
ArtificialPoints()
           
 
Method Summary
static Points getPoints(UtmCoordinatePairElev[][] coords, int zone)
          Builds a Points object from programatic data (An array[][] of UtmCoordinatePairElev and a utm zone) instead of pulling an existing Points object from the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtificialPoints

public ArtificialPoints()
Method Detail

getPoints

public static Points getPoints(UtmCoordinatePairElev[][] coords,
                               int zone)
Builds a Points object from programatic data (An array[][] of UtmCoordinatePairElev and a utm zone) instead of pulling an existing Points object from the database. This is useful for making artificial landscapes or creating database-like objects from some non-database data source, such as a com.c5corp.c5dem.DemTable.

Parameters:
coords - the array of point/elevation pairs
zone - the UTM zone for the area
Returns:
com.c5corp.c5utm Points a Points object representing the coords and zone paramters
See Also:
DemTable, com.c5corp.c5utm