~ubuntu-branches/ubuntu/wily/proj/wily

« back to all changes in this revision

Viewing changes to jniwrap/org/proj4/ProjectionData.java

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine, Jerome Villeneuve Larouche, Francesco Paolo Lovergine
  • Date: 2013-11-25 15:11:25 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20131125151125-mvcw144wvgep1hev
Tags: 4.8.0-1
[ Jerome Villeneuve Larouche ]
* New upstream release
* Modified libproj-dev.install to remove nad_list.h and projects.h
* Modified proj-bin.install to remove nad2nad
* Modified proj-bin.manpages to remove nad2nad man
* Added symbols for libproj0

[ Francesco Paolo Lovergine ]
* Properly merged with current git master and sid version 4.7.0-2.
* Removed proj transitional package and obsolete conflicts/replaces against
  series 4.6 and older.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 REVISION:  ---
15
15
 =====================================================================================*/
16
16
 
17
 
/* 
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. 
22
 
 
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. 
27
 
 
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 
31
 
 USA 
32
 
 
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.   
 
17
/*
 
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.
 
22
 
 
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.
 
27
 
 
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
 
31
 USA
 
32
 
 
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.
38
38
 */
39
39
package org.proj4;
40
40
 
41
41
/**
42
42
 * class representing the dataset to be reprojected
 
43
 *
 
44
 * @deprecated The new {@link PJ} class uses a different layout for coordinate values.
 
45
 * The new layout is the same than the one used by {@link java.awt.geom.AffineTransform}
 
46
 * in Java2D: tuples of (<var>x</var>,<var>y</var>,&lt;<var>y</var>&gt;) coordinates in
 
47
 * a single flat array.
43
48
 */
 
49
@Deprecated
44
50
public class ProjectionData
45
51
{
46
52
 
52
58
  public int rows = 0;
53
59
 
54
60
  /**
55
 
   * object to hold the data to be transformed. This will be passed from 
 
61
   * object to hold the data to be transformed. This will be passed from
56
62
   * the starting projection object to the destinantion projection passing through
57
63
   * the transformation.
58
64
   */
61
67
    rows = _coord.length;
62
68
    x = new double[rows];
63
69
    y = new double[rows];
64
 
    
 
70
 
65
71
    for (int i = 0; i < rows; i++)
66
72
    {
67
73
      x[i] = _coord[i][0];