1
/**=====================================================================================
3
FILE: DataToProject.java
5
DESCRIPTION: class representing the dataset to be reprojected
8
AUTHOR: Antonello Andrea
9
EMAIL: andrea.antonello@hydrologis.com
10
COMPANY: HydroloGIS / Engineering, University of Trento / CUDAM
11
COPYRIGHT: Copyright (C) 2004 HydroloGIS / University of Trento / CUDAM, ITALY, GPL
13
CREATED OR MODIFIED: Oct 18, 2004
15
=====================================================================================*/
18
This library is free software; you can redistribute it and/or
19
modify it under the terms of the GNU Library General Public
20
License as published by the Free Software Foundation; either
21
version 2 of the License, or (at your option) any later version.
23
This library is distributed in the hope that it will be useful,
24
but WITHOUT ANY WARRANTY; without even the implied warranty of
25
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26
Library General Public License for more details.
28
You should have received a copy of the GNU Library General Public
29
License along with this library; if not, write to the Free
30
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
33
1. Redistributions of source code must retain the above copyright
34
notice, this list of conditions and the following disclaimer.
35
2. Redistributions in binary form must reproduce the above copyright
36
notice, this list of conditions and the following disclaimer in the
37
documentation and/or other materials provided with the distribution.
42
* class representing the dataset to be reprojected
44
public class ProjectionData
47
// the variables are kept public, since they are transformed passing through
49
public double[] x = null;
50
public double[] y = null;
51
public double[] z = null;
55
* object to hold the data to be transformed. This will be passed from
56
* the starting projection object to the destinantion projection passing through
59
public ProjectionData(double[][] _coord, double[] _values)
65
for (int i = 0; i < rows; i++)