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.Object
This 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 double
getEnd()
Returns the end value of the interval.double
getStart()
Returns the start value of the interval.boolean
isBackward()
boolean
isForward()
Returns true if the end value is greater than the start value; false otherwise.boolean
isPoint()
double
length()
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()
-
-