Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.geometry / org.gvsig.fmap.geometry.api / src / main / java / org / gvsig / fmap / geom / primitive / Solid.java @ 40767

History | View | Annotate | Download (2.54 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
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 3
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
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.fmap.geom.primitive;
25

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

    
43
        /**
44
         * Add a surface to the Solid
45
         * 
46
         * @param surface
47
         *            the surface to add
48
         */
49
        public void addSurface(Surface surface);
50

    
51
        /**
52
         * Remove surface from solid at concrete position
53
         * 
54
         * @param position
55
         *            the concrete position
56
         */
57
        public void removeSurface(int position);
58

    
59
        /**
60
         * Get the number of surfaces in a solid
61
         * 
62
         * @return the number of surfaces
63
         */
64
        public int getNumSurfaces();
65

    
66
        /**
67
         * Gets a surface in a concrete position
68
         * 
69
         * @param position
70
         *            the concrete position
71
         * @return the surface
72
         */
73
        public Surface getSurfaceAt(int position);
74

    
75
        /**
76
         * Sets the appearance of a Solid
77
         * 
78
         * @param app
79
         *            the appearance
80
         */
81
        public void setAppearance(Appearance app);
82

    
83
        /**
84
         * Gets the appearance of a solid
85
         * 
86
         * @return
87
         */
88
        public Appearance getAppearance();
89

    
90
}