Revision 2183 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/v02/FConverter.java
FConverter.java | ||
---|---|---|
614 | 614 |
|
615 | 615 |
return viewPoint; |
616 | 616 |
} |
617 |
|
|
618 |
private static GeneralPathX toShape(MultiPolygon mp) |
|
619 |
throws NoninvertibleTransformException { |
|
620 |
GeneralPathX path = new GeneralPathX(); |
|
617 | 621 |
|
622 |
for (int i = 0; i < mp.getNumGeometries(); i++) { |
|
623 |
Polygon polygon = (Polygon) mp.getGeometryN(i); |
|
624 |
path.append(toShape(polygon), false); |
|
625 |
} |
|
626 |
|
|
627 |
//BasicFeatureRenderer expects LineStrings and MultiLineStrings to be |
|
628 |
//converted to GeneralPathXs. [Jon Aquino] |
|
629 |
return path; |
|
630 |
} |
|
618 | 631 |
/** |
619 | 632 |
* DOCUMENT ME! |
620 | 633 |
* |
Also available in: Unified diff