Revision 42309 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

View differences:

Surface.java
43 43
 * outward. For closed surfaces, which have no boundary, the up direction is
44 44
 * that of the surface patches, which must be consistent with one another.
45 45
 * </p>
46
 * 
46
 *
47 47
 * @see <a
48 48
 *      href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO
49 49
 *      19107</a>
......
54 54

  
55 55
	/**
56 56
	 * Sets the appearance of the Surface
57
	 * 
57
	 *
58 58
	 * @param app
59 59
	 *            The appearance of the surface
60 60
	 */
......
62 62

  
63 63
	/**
64 64
	 * Gets surface appearance
65
	 * 
65
	 *
66 66
	 * @return the surface appearance
67
	 * 
67
	 *
68 68
	 */
69 69
	public SurfaceAppearance getSurfaceAppearance();
70 70

  
71 71
        public int getNumInteriorRings();
72
        
72

  
73 73
        public Ring getInteriorRing(int index);
74
        
74

  
75 75
        public void addInteriorRing(Ring ring);
76
        
76

  
77
        /**
78
         * Creates a ring from the coordinates of the line and adds it to the surface like an inner ring.
79
         *
80
         * @param ring
81
         */
82
        public void addInteriorRing(Line line);
83

  
84
        /**
85
         * Creates a ring from the coordinates of the shell of the polygon and adds it to the surface like an inner ring.
86
         *
87
         * @param polygon
88
         */
89
        public void addInteriorRing(Polygon polygon);
90

  
77 91
        public void removeInteriorRing(int index);
78
        
92

  
79 93
}

Also available in: Unified diff