|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.spatial.network.lod.LogicalSubPathImpl
oracle.spatial.network.lod.SpatialSubPathImpl
public class SpatialSubPathImpl
Default implementation of SpatialSubPath.
| Constructor Summary | |
|---|---|
SpatialSubPathImpl(SpatialPath referencePath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, JGeometry geometry, CategorizedUserData userData) |
|
| Method Summary | |
|---|---|
CategorizedUserData |
getCategorizedUserData()Returns categorized user data. |
double |
getCost()Deprecated. |
double[] |
getCosts()Returns the costs of the subpath. |
int |
getEndLinkIndex()Returns the end link index. |
double |
getEndPercentage()Returns the location of the end point of the subpath as a percentage of the last link of the containing path. |
JGeometry |
getGeometry()Returns the geometry information of the path. |
LogicalLightPath |
getReferenceLightPath()Returns the path containing the subpath. |
int |
getStartLinkIndex()Returns the start link index. |
double |
getStartPercentage()Returns the location of the starting point of the subpath as a percentage of the first link of the containing path. |
java.util.Map<java.lang.String,java.lang.Object> |
getUserData()Deprecated. |
UserData |
getUserData(int category)Returns user data for the specified category. |
UserData |
getUserData(int category)Returns user data for the specified category. |
java.lang.Object |
getUserData(java.lang.String dataName)Deprecated. |
java.lang.Object |
getUserData(java.lang.String dataName)Deprecated. |
boolean |
isFullPath()Returns true if the subpath covers the entire reference path. |
void |
setCategorizedUserData(CategorizedUserData cud)Sets categorized user data. |
void |
setCosts(double[] costs)Sets the costs of the subpath. |
void |
setEndLinkIndex(int endLinkIndex)Sets the end link index. |
void |
setEndPercentage(double endPercentage)Sets the location of the end point of the subpath as a percentage of the last link of the containing path. |
void |
setReferenceLightPath(LogicalLightPath refPath)Sets the path containing the subpath. |
void |
setStartLinkIndex(int startLinkIndex)Sets the start link index. |
void |
setStartPercentage(double startPercentage)Sets the location of the starting point of the subpath as a percentage of the first link of the containing path. |
void |
setUserData(int category, UserData userData)Sets user data for the specified category. |
void |
setUserData(int category, UserData userData)Sets user data for the specified category. |
void |
setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap)Deprecated. |
void |
setUserData(java.lang.String dataName, java.lang.Object dataValue)Deprecated. |
void |
setUserData(java.lang.String dataName, java.lang.Object dataValue)Deprecated. |
| Methods inherited from class oracle.spatial.network.lod.LogicalSubPathImpl |
|---|
getReferencePath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.spatial.network.lod.LogicalSubPath |
|---|
getReferencePath |
| Methods inherited from interface oracle.spatial.network.lod.LogicalLightSubPath |
|---|
getCategorizedUserData, getCost, getCosts, getEndLinkIndex, getEndPercentage, getReferenceLightPath, getStartLinkIndex, getStartPercentage, getUserData, isFullPath, setCategorizedUserData, setCosts, setEndLinkIndex, setEndPercentage, setReferenceLightPath, setStartLinkIndex, setStartPercentage, setUserData |
| Constructor Detail |
|---|
public SpatialSubPathImpl(SpatialPath referencePath,
int startLinkIndex,
double startPercentage,
int endLinkIndex,
double endPercentage,
double[] costs,
JGeometry geometry,
CategorizedUserData userData)
| Method Detail |
|---|
public JGeometry getGeometry()
SpatialSubPathgetGeometry in interface SpatialSubPathpublic java.lang.Object getUserData(java.lang.String dataName)
dataName - name of the user data
public void setUserData(java.lang.String dataName,
java.lang.Object dataValue)
dataName - name of the user datadataValue - value of the user datapublic UserData getUserData(int category)
public void setUserData(int category,
UserData userData)
userData -public LogicalLightPath getReferenceLightPath()
LogicalLightSubPathgetReferenceLightPath in interface LogicalLightSubPathpublic double getStartPercentage()
LogicalLightSubPathgetStartPercentage in interface LogicalLightSubPathpublic double getEndPercentage()
LogicalLightSubPathgetEndPercentage in interface LogicalLightSubPathpublic int getStartLinkIndex()
LogicalLightSubPathgetStartLinkIndex in interface LogicalLightSubPathpublic int getEndLinkIndex()
LogicalLightSubPathgetEndLinkIndex in interface LogicalLightSubPathpublic double getCost()
LogicalLightSubPathgetCost in interface LogicalLightSubPathpublic boolean isFullPath()
LogicalLightSubPathisFullPath in interface LogicalLightSubPathpublic double[] getCosts()
LogicalLightSubPathgetCosts in interface LogicalLightSubPathpublic void setReferenceLightPath(LogicalLightPath refPath)
LogicalLightSubPathsetReferenceLightPath in interface LogicalLightSubPathpublic void setStartPercentage(double startPercentage)
LogicalLightSubPathsetStartPercentage in interface LogicalLightSubPathpublic void setEndPercentage(double endPercentage)
LogicalLightSubPathsetEndPercentage in interface LogicalLightSubPathpublic void setStartLinkIndex(int startLinkIndex)
LogicalLightSubPathsetStartLinkIndex in interface LogicalLightSubPathpublic void setEndLinkIndex(int endLinkIndex)
LogicalLightSubPathsetEndLinkIndex in interface LogicalLightSubPathpublic void setCosts(double[] costs)
LogicalLightSubPathsetCosts in interface LogicalLightSubPathpublic java.lang.Object getUserData(java.lang.String dataName)
dataName - name of the user data
public void setUserData(java.lang.String dataName,
java.lang.Object dataValue)
dataName - name of the user datadataValue - value of the user datapublic java.util.Map<java.lang.String,java.lang.Object> getUserData()
public void setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap)
userDataMap - user Datapublic CategorizedUserData getCategorizedUserData()
public void setCategorizedUserData(CategorizedUserData cud)
public UserData getUserData(int category)
public void setUserData(int category,
UserData userData)
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||