Revision 11247 trunk/libraries/libGPE/src-test/org/gvsig/gpe/containers/Polygon.java
Polygon.java | ||
---|---|---|
46 | 46 |
* |
47 | 47 |
* $Id$ |
48 | 48 |
* $Log$ |
49 |
* Revision 1.1 2007-04-14 16:06:35 jorpiell |
|
49 |
* Revision 1.2 2007-04-19 07:23:20 jorpiell |
|
50 |
* Add the add methods to teh contenhandler and change the register mode |
|
51 |
* |
|
52 |
* Revision 1.1 2007/04/14 16:06:35 jorpiell |
|
50 | 53 |
* Add the container classes |
51 | 54 |
* |
52 | 55 |
* |
... | ... | |
77 | 80 |
} |
78 | 81 |
|
79 | 82 |
/** |
83 |
* Adds a new layer |
|
84 |
* @param layer |
|
85 |
*/ |
|
86 |
public void addInnerBoundary(Object polygon){ |
|
87 |
if (polygon instanceof Polygon){ |
|
88 |
innerBoundary.add(polygon); |
|
89 |
} |
|
90 |
} |
|
91 |
|
|
92 |
|
|
93 |
/** |
|
80 | 94 |
* @return the srs |
81 | 95 |
*/ |
82 | 96 |
public String getSrs() { |
Also available in: Unified diff