Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


oracle.spatial.network
Interface TreeLink

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable

public interface TreeLink
extends java.lang.Cloneable, java.io.Serializable

This interface defines a tree link for trace-out. Note the tree links can either regular links or partial links (defined by a start and an end percentages)


Method Summary
 double getCost()
          Returns the link cost
 double getDuration()
          Returns the sum of duration from root node to this node
 double getEndPercentage()
          Returns the end percentage of the link if the tree link is a partial link
 JGeometry getGeometry()
          Returns the geometry of the tree link
 Link getLink()
          Returns the link.
 double getStartPercentage()
          Returns the start percentage of the link if the tree link is a partial link
 boolean isPartialLink()
          If the tree link is a partial link?
 boolean isRegularLink()
          if the tree link is a regular link

 

Method Detail

isPartialLink

boolean isPartialLink()
If the tree link is a partial link?

isRegularLink

boolean isRegularLink()
if the tree link is a regular link

getLink

Link getLink()
Returns the link.

getStartPercentage

double getStartPercentage()
Returns the start percentage of the link if the tree link is a partial link

getEndPercentage

double getEndPercentage()
Returns the end percentage of the link if the tree link is a partial link

getCost

double getCost()
Returns the link cost

getGeometry

JGeometry getGeometry()
Returns the geometry of the tree link

getDuration

double getDuration()
Returns the sum of duration from root node to this node
Returns:
sum of duration

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.