documentationfor yFiles for HTML 3.0.0.3

Usages of Interval

Properties

rangein OrthogonalIntervalGets the range of this OrthogonalInterval.

Method Return Values

calculateBridge (Interval, Interval)in IntervalReturns the bridging Interval between the given Intervals.
calculateIntersection (Interval, Interval)in IntervalReturns the intersection of the given Intervals.
calculateUnion (Interval, Interval)in IntervalReturns the union of the given Intervals.
calculateUnion (Interval, number)in IntervalReturns the union of the given Intervals and the given value.

Method Parameters

calculateBridge (Interval, Interval)in IntervalReturns the bridging Interval between the given Intervals.
calculateIntersection (Interval, Interval)in IntervalReturns the intersection of the given Intervals.
calculateSpanningRectangle (Interval, Interval)in IntervalReturns the spanning rectangle between the given Intervals.
calculateUnion (Interval, Interval)in IntervalReturns the union of the given Intervals.
calculateUnion (Interval, number)in IntervalReturns the union of the given Intervals and the given value.
coveredBy (Interval, number?)in IntervalChecks whether or not the given Interval fully covers this Interval given a small epsilon value.
distanceTo (Interval)in IntervalReturns the distance between this Interval and the given Interval.
hasSameRange (Interval, number?)in IntervalChecks whether or not this Interval and the given Interval cover the same range.
intersects (Interval, number?)in IntervalChecks whether or not this Interval intersects with the given Interval, considering the given minimum intersection length.
isGreaterThan (Interval)in IntervalChecks whether or not the lower bound of this Interval is greater than the upper bound of the given interval.
isLessThan (Interval)in IntervalChecks whether or not the upper bound of this Interval is smaller than the lower bound of the given interval.
OrthogonalInterval (Interval, number, boolean)in OrthogonalIntervalCreates a new OrthogonalInterval instance with the given interval bounds.