Revision 2669 branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/px/gml/Point3D.java
Point3D.java | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Cresques Mapping Suite. Graphic Library for constructing mapping applications. |
3 |
* |
|
4 |
* Copyright (C) 2004-5. |
|
5 | 3 |
* |
4 |
* Copyright (C) 2004-5. |
|
5 |
* |
|
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
8 | 8 |
* as published by the Free Software Foundation; either version 2 |
... | ... | |
18 | 18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
19 | 19 |
* |
20 | 20 |
* For more information, contact: |
21 |
*
|
|
21 |
* |
|
22 | 22 |
* cresques@gmail.com |
23 | 23 |
*/ |
24 | 24 |
package org.cresques.px.gml; |
25 | 25 |
|
26 |
|
|
26 | 27 |
/** |
27 | 28 |
* @author jmorell |
28 | 29 |
*/ |
... | ... | |
30 | 31 |
public Point3D() { |
31 | 32 |
super(); |
32 | 33 |
} |
34 |
|
|
33 | 35 |
public void add(org.cresques.geo.Point3D pt) { |
34 | 36 |
pointNr++; |
35 | 37 |
super.add(pt); |
36 | 38 |
} |
37 |
public org.cresques.geo.Point3D getPoint3D(int i) { |
|
38 |
return (org.cresques.geo.Point3D)data.get(i); |
|
39 |
} |
|
39 |
|
|
40 |
public org.cresques.geo.Point3D getPoint3D(int i) { |
|
41 |
return (org.cresques.geo.Point3D) data.get(i); |
|
42 |
} |
|
40 | 43 |
} |
Also available in: Unified diff