root / branches / v2_0_0_prep / libraries / libFMap_geometries / src / org / gvsig / fmap / geom / primitive / Solid.java @ 38597
History | View | Annotate | Download (2.66 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 | 29233 | jtorres | /*
|
28 | * AUTHORS (In addition to CIT):
|
||
29 | * 2009 Instituto de Autom?tica e Inform?tica Industrial, UPV.
|
||
30 | */
|
||
31 | 28989 | jpiera | package org.gvsig.fmap.geom.primitive; |
32 | |||
33 | 20761 | jmvivo | /**
|
34 | 28989 | jpiera | * <p>
|
35 | 29233 | jtorres | * 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"
|
36 | * >ISO 19107</a>. Solid is a subclass of {@link Primitive}, and is the basis
|
||
37 | * for 3-dimensional geometry. The extent of a solid is defined by the boundary
|
||
38 | * surfaces.
|
||
39 | 28989 | jpiera | * </p>
|
40 | 29233 | jtorres | *
|
41 | * @see <a
|
||
42 | * href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO
|
||
43 | * 19107</a>
|
||
44 | 28989 | jpiera | * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
|
45 | 29233 | jtorres | * @author <a href="mailto:jtorres@ai2.upv.es">Jordi Torres Fabra</a>
|
46 | 29097 | jpiera | * @author <a href="mailto:rgaitan@ai2.upv.es">Rafa Gaitán Linares</a>
|
47 | 20761 | jmvivo | */
|
48 | 29233 | jtorres | public interface Solid extends Primitive { |
49 | 27397 | jpiera | |
50 | 29233 | jtorres | /**
|
51 | * Add a surface to the Solid
|
||
52 | *
|
||
53 | * @param surface
|
||
54 | * the surface to add
|
||
55 | */
|
||
56 | public void addSurface(Surface surface); |
||
57 | |||
58 | /**
|
||
59 | * Remove surface from solid at concrete position
|
||
60 | *
|
||
61 | * @param position
|
||
62 | * the concrete position
|
||
63 | */
|
||
64 | 28987 | jtorres | public void removeSurface(int position); |
65 | 29233 | jtorres | |
66 | /**
|
||
67 | * Get the number of surfaces in a solid
|
||
68 | *
|
||
69 | * @return the number of surfaces
|
||
70 | */
|
||
71 | 28987 | jtorres | public int getNumSurfaces(); |
72 | 29233 | jtorres | |
73 | /**
|
||
74 | * Gets a surface in a concrete position
|
||
75 | *
|
||
76 | * @param position
|
||
77 | * the concrete position
|
||
78 | * @return the surface
|
||
79 | */
|
||
80 | public Surface getSurfaceAt(int position); |
||
81 | |||
82 | /**
|
||
83 | * Sets the appearance of a Solid
|
||
84 | *
|
||
85 | * @param app
|
||
86 | * the appearance
|
||
87 | */
|
||
88 | public void setAppearance(Appearance app); |
||
89 | |||
90 | /**
|
||
91 | * Gets the appearance of a solid
|
||
92 | *
|
||
93 | * @return
|
||
94 | */
|
||
95 | public Appearance getAppearance();
|
||
96 | |||
97 | 20761 | jmvivo | } |