Unverified Commit 23b5af5e authored by User expired's avatar User expired
Browse files

matching changed interface of isochrone project

parent 65be45e9
Upcoming version:
-----------------
- matching changed interface of isochrone project (Nikolaus Krismer)
- improving error handling for client ui (Nikolaus Krismer)
- fixed tooltips for dialogs (Nikolaus Krismer)
- fixed js issue (Nikolaus Krismer)
......
......@@ -4,6 +4,10 @@ import com.vividsolutions.jts.geom.LineString;
import javax.validation.constraints.NotNull;
import org.opengis.referencing.FactoryException;
import org.opengis.referencing.operation.TransformException;
import it.unibz.inf.isochrone.network.EdgeSegment;
import it.unibz.inf.isochrone.network.IEdge;
import it.unibz.inf.isochrone.network.INetworkEntity;
import it.unibz.inf.isochrone.network.Route;
......@@ -44,8 +48,8 @@ public class UndirectedEdge implements IEdge {
}
@Override
public int compareTo(final INetworkEntity o) {
return edge.compareTo(o);
public EdgeSegment[] getEdgeSegments() throws TransformException, FactoryException {
return edge.getEdgeSegments();
}
@Override
......@@ -117,6 +121,11 @@ public class UndirectedEdge implements IEdge {
// Public methods
@Override
public int compareTo(final INetworkEntity o) {
return edge.compareTo(o);
}
@Override
public boolean equals(final Object obj) {
if (this == obj) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment