Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_geometries / src / org / gvsig / fmap / geom / primitive / Solid.java @ 29097

History | View | Annotate | Download (2.11 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
19
 * MA  02110-1301, USA.
20
 * 
21
 */
22

    
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2009 {Iver T.I.}   {Task}
26
 */
27

    
28
package org.gvsig.fmap.geom.primitive;
29

    
30
import java.awt.image.BufferedImage;
31

    
32
/**
33
 * <p>
34
 * This interface is equivalent to the GM_Solid specified in 
35
 * <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO 19107</a>.
36
 * Solid is a subclass of {@link Primitive}, and is the basis for 3-dimensional geometry. 
37
 * The extent of a solid is defined by the boundary surfaces.
38
 * </p>
39
 * @see <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO 19107</a>
40
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
41
 * @author <a href="mailto:jtorres@ai2.upv.es">Jordi Torres Fabra</a>  
42
 * @author <a href="mailto:rgaitan@ai2.upv.es">Rafa Gait&aacute;n Linares</a>
43
 */
44
public interface Solid extends Primitive{
45

    
46
        public void  addExtendedSurface(ExtendedSurface surface);
47
        
48
        public void removeSurface(int position);
49
        
50
        public int getNumSurfaces();
51
        
52
        public ExtendedSurface getExtendedSurfaceAt(int position);
53
        
54
        public void addTexture(BufferedImage image);
55
        
56
        public BufferedImage getTextureAt(int position);
57
        
58
        public void removeTexture(int position);
59
        
60
        public int getNumTextures();
61
        
62
}