Changeset 4753 for platform/orbisgis-core/src/main/java/org/orbisgis/renderer/liteShape/GeomCollectionIterator.java
- Timestamp:
- 06/18/2008 04:24:04 PM (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
platform/orbisgis-core/src/main/java/org/orbisgis/renderer/liteShape/GeomCollectionIterator.java
r4684 r4753 67 67 * geometry collection. It can be seen as a composite, since uses in fact other, 68 68 * simpler iterator to carry on its duties. 69 * 69 * 70 70 * @author Andrea Aime 71 71 * @source $URL: … … 118 118 /** 119 119 * Creates a new instance of GeomCollectionIterator 120 * 120 * 121 121 * @param gc 122 122 * The geometry collection the iterator will use … … 137 137 * Sets the distance limit for point skipping during distance based 138 138 * generalization 139 * 139 * 140 140 * @param distance 141 141 * the maximum distance for point skipping … … 148 148 * Returns the distance limit for point skipping during distance based 149 149 * generalization 150 * 150 * 151 151 * @return the maximum distance for distance based generalization 152 152 */ … … 157 157 /** 158 158 * Returns the specific iterator for the geometry passed. 159 * 159 * 160 160 * @param g 161 161 * The geometry whole iterator is requested 162 * 162 * 163 163 * @return the specific iterator for the geometry passed. 164 164 */ … … 197 197 * points, SEG_CUBICTO returns 3 points and SEG_CLOSE does not return any 198 198 * points. 199 * 199 * 200 200 * @param coords 201 201 * an array that holds the data returned from this method 202 * 202 * 203 203 * @return the path-segment type of the current path segment. 204 * 204 * 205 205 * @see #SEG_MOVETO 206 206 * @see #SEG_LINETO … … 222 222 * points, SEG_CUBICTO returns 3 points and SEG_CLOSE does not return any 223 223 * points. 224 * 224 * 225 225 * @param coords 226 226 * an array that holds the data returned from this method 227 * 227 * 228 228 * @return the path-segment type of the current path segment. 229 * 229 * 230 230 * @see #SEG_MOVETO 231 231 * @see #SEG_LINETO … … 240 240 /** 241 241 * Returns the winding rule for determining the interior of the path. 242 * 242 * 243 243 * @return the winding rule. 244 * 244 * 245 245 * @see #WIND_EVEN_ODD 246 246 * @see #WIND_NON_ZERO 247 247 */ 248 248 public int getWindingRule() { 249 return WIND_ NON_ZERO;249 return WIND_EVEN_ODD; 250 250 } 251 251 252 252 /** 253 253 * Tests if the iteration is complete. 254 * 254 * 255 255 * @return <code>true</code> if all the segments have been read; 256 256 * <code>false</code> otherwise.
