Statistics
| Revision:

gvsig-raster / org.gvsig.raster.gdal / tags / pre-remove-jgdal / org.gvsig.raster.gdal / org.gvsig.raster.gdal.io / src / main / java / org / gvsig / jogr / OGRMultiLineString.java @ 3497

History | View | Annotate | Download (2.86 KB)

1
/**********************************************************************
2
 * $Id: OGRMultiLineString.java 7765 2006-10-03 07:05:18Z nacho $
3
 *
4
 * Name:     OGRMultiLineString.java
5
 * Project:  JGDAL. Interface java to gdal (Frank Warmerdam).
6
 * Purpose:   
7
 * Author:   Nacho Brodin, brodin_ign@gva.es
8
 *
9
 **********************************************************************/
10
/*Copyright (C) 2004  Nacho Brodin <brodin_ign@gva.es>
11

12
 This program is free software; you can redistribute it and/or
13
 modify it under the terms of the GNU General Public License
14
 as published by the Free Software Foundation; either version 2
15
 of the License, or (at your option) any later version.
16

17
 This program is distributed in the hope that it will be useful,
18
 but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 GNU General Public License for more details.
21

22
 You should have received a copy of the GNU General Public License
23
 along with this program; if not, write to the Free Software
24
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25
 */
26

    
27
package org.gvsig.jogr;
28

    
29
import org.gdal.ogr.Geometry;
30

    
31

    
32
/** 
33
 * Esta clase representa a una fuente de datos
34
 * 
35
 * @author Nacho Brodin <brodin_ign@gva.es>.<BR> Equipo de desarrollo gvSIG.<BR> http://www.gvsig.gva.es
36
 * @version 0.0
37
 * @link http://www.gvsig.gva.es
38
 */
39

    
40
public class OGRMultiLineString extends Geometry{
41
        
42
//        private native void FreeOGRMultiLineStringNat(long cPtr);
43
//        private native String getGeometryTypeNat(long cPtr);//return OGRwkbGeometryType
44
//        private native OGRGeometry cloneNat(long cPtr);
45
//        private native int importFromWktNat(long cPtr, String[] wkt );//Excepciones
46
//        private native int exportToWktNat(long cPtr, String[] wkt );//Excepciones
47
//        private native int addGeometryDirectlyNat(long cPtr, OGRGeometry geom );//Excepciones
48
        
49
        
50
        /**
51
         * Constructor
52
         * @param cPtr        direcci?n de memoria al objeto OGRMultiLineString de C. 
53
         */
54
                
55
        public OGRMultiLineString(long cPtr){
56
                super(cPtr, true);
57
        }                
58
                
59
        /**
60
         * Destructor 
61
         */
62
        
63
        protected void finalize() throws OGRFailureException{
64
//                if(cPtr == 0)
65
//                        throw new OGRFailureException("Fallo al acceder al dato.");
66
//                
67
//                FreeOGRMultiLineStringNat(cPtr);
68
                this.delete();
69
        }
70
         
71
//        Non standard (OGRGeometry).
72
        
73
        /**
74
         * 
75
         */
76
        
77
        public String getGeometryName()throws OGRException{
78
                return null;
79
        }
80

    
81
        /**
82
         * 
83
         */
84

    
85
        public String getGeometryType()throws OGRException{
86
                return null;
87
        }
88

    
89
        /**
90
         * 
91
         */
92

    
93
        public OGRGeometry cloneMultiPolygon()throws OGRException{
94
                return null;
95
        }
96

    
97
        /**
98
         * 
99
         */
100

    
101
        public void importFromWkt( String[] wkt )throws OGRException{//Excepciones
102
                
103
        }
104

    
105
        /**
106
         * 
107
         */
108

    
109
        public void exportToWkt( String[] wkt )throws OGRException{//Excepciones
110
                
111
        }
112

    
113
    // Non standard
114

    
115
        /**
116
         * 
117
         */
118

    
119
        public void addGeometryDirectly( OGRGeometry geom )throws OGRException{//Excepciones
120
                
121
        }
122
        
123
        
124
}