Package | Description |
---|---|
org.cesiumjs.cs.collections | |
org.cesiumjs.cs.core |
Modifier and Type | Method and Description |
---|---|
void |
TimeIntervalCollection.addInterval(TimeInterval interval,
TimeInterval.DataComparer dataComparer)
Adds an interval to the collection, merging intervals that contain the same data and splitting intervals of
different data as needed in order to maintain a non-overlapping collection.
|
boolean |
TimeIntervalCollection.equals(TimeIntervalCollection right,
TimeInterval.DataComparer dataComparer)
Compares this instance against the provided instance componentwise and returns true if they are equal, false otherwise.
|
TimeIntervalCollection |
TimeIntervalCollection.intersect(TimeIntervalCollection other,
TimeInterval.DataComparer dataComparer)
Creates a new instance that is the intersection of this collection and the provided collection.
|
TimeIntervalCollection |
TimeIntervalCollection.intersect(TimeIntervalCollection other,
TimeInterval.DataComparer dataComparer,
TimeInterval.MergeCallback mergeCallback)
Creates a new instance that is the intersection of this collection and the provided collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TimeInterval.equals(TimeInterval right,
TimeInterval.DataComparer dataComparer)
Compares this instance against the provided instance componentwise and returns true if they are equal, false otherwise.
|
static boolean |
TimeInterval.equals(TimeInterval left,
TimeInterval right,
TimeInterval.DataComparer dataComparer)
Compares two instances and returns true if they are equal, false otherwise.
|
boolean |
TimeInterval.equalsEpsilon(TimeInterval right,
double epsilon,
TimeInterval.DataComparer dataComparer)
Compares this instance against the provided instance componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static boolean |
TimeInterval.equalsEpsilon(TimeInterval left,
TimeInterval right,
double epsilon,
TimeInterval.DataComparer dataComparer)
Compares two instances and returns true if they are within epsilon seconds of each other.
|
Copyright © 2019. All rights reserved.