Statistics
| Revision:

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

History | View | Annotate | Download (2.06 KB)

1 28989 jpiera
/* gvSIG. Geographic Information System of the Valencian Government
2 20761 jmvivo
 *
3 28989 jpiera
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6 20761 jmvivo
 * 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 28989 jpiera
 *
11 20761 jmvivo
 * 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 28989 jpiera
 *
16 20761 jmvivo
 * 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 28989 jpiera
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21 20761 jmvivo
 */
22 28989 jpiera
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2009 {Iver T.I.}   {Task}
26 20761 jmvivo
 */
27 28989 jpiera
28
package org.gvsig.fmap.geom.primitive;
29
30 29018 jtorres
import java.awt.image.BufferedImage;
31
32 20761 jmvivo
/**
33 28989 jpiera
 * <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 29018 jtorres
 * @author <a href="mailto:rgaitan@ai2.upv.es">Rafa Gait�n Linares</a>
43 20761 jmvivo
 */
44 26788 jpiera
public interface Solid extends Primitive{
45 27397 jpiera
46 28987 jtorres
        public void  addSurface(Surface surface);
47 20761 jmvivo
48 28987 jtorres
        public void removeSurface(int position);
49
50
        public int getNumSurfaces();
51
52 28989 jpiera
        public Surface getSurfaceAt(int position);
53 28987 jtorres
54 29018 jtorres
        public void addTexture();
55 28987 jtorres
56 29018 jtorres
        public BufferedImage getTextureAt(int position);
57
58
        public void removeTexture(int position);
59
60
        public int getNumTextures();
61
62 20761 jmvivo
}