com.vividsolutions.jcs.conflate.roads
Class RoadEdge

java.lang.Object
  extended bycom.vividsolutions.jcs.graph.Edge
      extended bycom.vividsolutions.jcs.conflate.roads.RoadEdge

public class RoadEdge
extends Edge


Nested Class Summary
 class RoadEdge.RoadEdgeComparator
           
 
Field Summary
 
Fields inherited from class com.vividsolutions.jcs.graph.Edge
dirEdge
 
Constructor Summary
RoadEdge(com.vividsolutions.jump.feature.Feature f)
           
RoadEdge(com.vividsolutions.jts.geom.Geometry geom, java.util.Collection features)
           
RoadEdge(com.vividsolutions.jts.geom.Geometry geom, com.vividsolutions.jump.feature.Feature f)
           
 
Method Summary
 void addMatch(RoadEdge matchEdge, double matchDistance)
           
 void clearMatch()
           
 com.vividsolutions.jump.feature.Feature getFeature()
           
 RoadEdgeFeature getFeatureProxy()
           
 java.util.Collection getFeatures()
           
 com.vividsolutions.jts.geom.Geometry getGeometry()
           
 RoadEdge getMatch()
           
 double getMatchDistance()
           
 Matches getMatches()
           
 java.lang.String getName()
           
 RoadNode[] getNodes()
           
 RoadNode getOtherNode(RoadNode node)
           
 boolean hasMatch()
           
 boolean hasNode(Node n)
           
 void setDirectedEdges(DirectedEdge de0, DirectedEdge de1)
           
 void setMatch(RoadEdge matchEdge)
           
 void setMatch(RoadEdge matchEdge, double matchDistance)
           
 void setMutualMatch(RoadEdge matchEdge)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class com.vividsolutions.jcs.graph.Edge
getDirEdge, getDirEdge, getOppositeNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoadEdge

public RoadEdge(com.vividsolutions.jump.feature.Feature f)

RoadEdge

public RoadEdge(com.vividsolutions.jts.geom.Geometry geom,
                com.vividsolutions.jump.feature.Feature f)

RoadEdge

public RoadEdge(com.vividsolutions.jts.geom.Geometry geom,
                java.util.Collection features)
Method Detail

getFeatureProxy

public RoadEdgeFeature getFeatureProxy()

getFeature

public com.vividsolutions.jump.feature.Feature getFeature()

getFeatures

public java.util.Collection getFeatures()

getGeometry

public com.vividsolutions.jts.geom.Geometry getGeometry()

setDirectedEdges

public void setDirectedEdges(DirectedEdge de0,
                             DirectedEdge de1)
Overrides:
setDirectedEdges in class Edge

getNodes

public RoadNode[] getNodes()

getOtherNode

public RoadNode getOtherNode(RoadNode node)

hasNode

public boolean hasNode(Node n)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

hasMatch

public boolean hasMatch()

getMatch

public RoadEdge getMatch()

setMutualMatch

public void setMutualMatch(RoadEdge matchEdge)

setMatch

public void setMatch(RoadEdge matchEdge)

setMatch

public void setMatch(RoadEdge matchEdge,
                     double matchDistance)

addMatch

public void addMatch(RoadEdge matchEdge,
                     double matchDistance)

getMatches

public Matches getMatches()

getMatchDistance

public double getMatchDistance()

clearMatch

public void clearMatch()

toString

public java.lang.String toString()