Revision 19651 trunk/libraries/libTopology/src/org/gvsig/topology/topologyrules/LinesMustNotHavePseudonodes.java
LinesMustNotHavePseudonodes.java | ||
---|---|---|
91 | 91 |
|
92 | 92 |
double clusterTol; |
93 | 93 |
|
94 |
SnappingCoordinateMap pseudoNodesCoordMap = null; |
|
94 |
protected SnappingCoordinateMap pseudoNodesCoordMap = null;
|
|
95 | 95 |
|
96 | 96 |
public LinesMustNotHavePseudonodes(Topology topology, FLyrVect originLyr, |
97 | 97 |
double clusterTolerance) { |
... | ... | |
133 | 133 |
process(jtsGeom, feature); |
134 | 134 |
} |
135 | 135 |
|
136 |
private void process(Geometry geometry, IFeature feature) {
|
|
136 |
protected void process(Geometry geometry, IFeature feature) {
|
|
137 | 137 |
if (geometry instanceof GeometryCollection) { |
138 | 138 |
GeometryCollection geomCol = (GeometryCollection) geometry; |
139 | 139 |
for (int i = 0; i < geomCol.getNumGeometries(); i++) { |
... | ... | |
250 | 250 |
topology); |
251 | 251 |
topologyError.setID(errorContainer.getErrorFid()); |
252 | 252 |
addTopologyError(topologyError); |
253 |
|
|
254 |
pseudoNodesCoordMap.put(lastPoint, lastPoint); |
|
253 | 255 |
} |
254 | 256 |
} |
255 | 257 |
|
Also available in: Unified diff