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 / Surface.java @ 40559

History | View | Annotate | Download (2.76 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
/*
25
 * AUTHORS (In addition to CIT):
26
 * 2009 {Iver T.I.}   {Task}
27
 */
28
/*
29
 * AUTHORS (In addition to CIT):
30
 * 2009 Instituto de Autom?tica e Inform?tica Industrial, UPV.
31
 */
32
package org.gvsig.fmap.geom.primitive;
33

    
34
/**
35
 * <p>
36
 * This interface is equivalent to the GM_Surface specified in <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012"
37
 * >ISO 19107</a>. Surface is a subclass of {@link Primitive} and is the basis
38
 * for 2-dimensional geometry. Unorientable surfaces such as the M?bius band
39
 * are not allowed.
40
 * <p/>
41
 * <p>
42
 * The orientation of a surface chooses an "up" direction through the choice of
43
 * the upward normal, which, if the surface is not a cycle, is the side of the
44
 * surface from which the exterior boundary appears counterclockwise. Reversal
45
 * of the surface orientation reverses the curve orientation of each boundary
46
 * component, and interchanges the conceptual "up" and "down" direction of the
47
 * surface.
48
 * </p>
49
 * <p>
50
 * If the surface is the boundary of a solid, the "up" direction is usually
51
 * outward. For closed surfaces, which have no boundary, the up direction is
52
 * that of the surface patches, which must be consistent with one another.
53
 * </p>
54
 * 
55
 * @see <a
56
 *      href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO
57
 *      19107</a>
58
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
59
 * @author <a href="mailto:jtorres@ai2.upv.es">Jordi Torres Fabra</a>
60
 */
61
public interface Surface extends OrientableSurface {
62

    
63
        /**
64
         * Sets the appearance of the Surface
65
         * 
66
         * @param app
67
         *            The appearance of the surface
68
         */
69
        public void setSurfaceAppearance(SurfaceAppearance app);
70

    
71
        /**
72
         * Gets surface appearance
73
         * 
74
         * @return the surface appearance
75
         * 
76
         */
77
        public SurfaceAppearance getSurfaceAppearance();
78

    
79

    
80
}