public class SegmentRelationUtils extends Object
Constructor and Description |
---|
SegmentRelationUtils() |
Modifier and Type | Method and Description |
---|---|
static Item |
findFromEnd(Relation segmentRelation,
float time)
Starting from the end of the given Segment Relation, go backwards
to find the Item that corresponds to the given time.
|
static Item |
findFromFront(Relation segmentRelation,
float time)
Starting from the front of the given Segment Relation, finds the Item
that corresponds to the given time.
|
static Item |
getItem(Relation segmentRelation,
float time)
Returns the Item in the Segment Relation that corresponds to the given
time.
|
static float |
getSegmentEnd(Item segment)
Returns the value of the feature
end of
the given Segment Item. |
public SegmentRelationUtils()
public static Item getItem(Relation segmentRelation, float time)
segmentRelation
- the segmentRelation of interesttime
- the timepublic static float getSegmentEnd(Item segment)
end
of
the given Segment Item.segment
- the Segment Itemend
feature of the Segmentpublic static Item findFromFront(Relation segmentRelation, float time)
segmentRelation
- the Segment Relation to searchtime
- the time of the Segment Itempublic static Item findFromEnd(Relation segmentRelation, float time)
segmentRelation
- the Segment Relation to searchtime
- the time of the Segment ItemWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses