Package oracle.spatial.network.lod
Class NetworkBuffer.DoubleInterval
- java.lang.Object
-
- oracle.spatial.network.lod.NetworkBuffer.DoubleInterval
-
- Enclosing class:
- NetworkBuffer
public static class NetworkBuffer.DoubleInterval extends java.lang.ObjectThis class defines a double interval.
-
-
Constructor Summary
Constructors Constructor Description DoubleInterval(double start, double end)Constructs a double interval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetEnd()Returns the end value of the interval.doublegetStart()Returns the start value of the interval.booleanisBackward()booleanisForward()Returns true if the end value is greater than the start value; false otherwise.booleanisPoint()doublelength()Returns the length of the interval.
-
-
-
Method Detail
-
getStart
public double getStart()
Returns the start value of the interval.- Returns:
-
getEnd
public double getEnd()
Returns the end value of the interval.- Returns:
-
length
public double length()
Returns the length of the interval.- Returns:
-
isForward
public boolean isForward()
Returns true if the end value is greater than the start value; false otherwise.- Returns:
-
isBackward
public boolean isBackward()
-
isPoint
public boolean isPoint()
-
-