toggle menu
alchemist
jvm
switch theme
search in API
alchemist
/
it.unibo.alchemist.model.maps.routes
/
GPSTraceImpl
GPSTrace
Impl
class
GPSTraceImpl
:
PolygonalChain
<
P
>
,
GPSTrace
Implementation of a
GPSTrace
.
Members
Constructors
GPSTrace
Impl
Link copied to clipboard
constructor
(
trace
:
Array
<
GPSPoint
>
)
constructor
(
tr
:
List
<
GPSPoint
>
)
Functions
equals
Link copied to clipboard
fun
equals
(
other
:
Any
)
:
Boolean
for
Each
Link copied to clipboard
open
fun
forEach
(
action
:
Consumer
<
in
T
>
)
get
Final
Position
Link copied to clipboard
open
fun
getFinalPosition
(
)
:
GPSPoint
get
Final
Time
Link copied to clipboard
open
fun
getFinalTime
(
)
:
Time
get
Initial
Position
Link copied to clipboard
open
fun
getInitialPosition
(
)
:
GPSPoint
get
Next
Position
Link copied to clipboard
open
fun
getNextPosition
(
time
:
Time
)
:
GPSPoint
get
Point
Link copied to clipboard
fun
getPoint
(
step
:
Int
)
:
P
get
Points
Link copied to clipboard
abstract
fun
getPoints
(
)
:
List
<
P
>
fun
getPoints
(
)
:
ImmutableList
<
P
>
get
Previous
Position
Link copied to clipboard
open
fun
getPreviousPosition
(
time
:
Time
)
:
GPSPoint
get
Start
Time
Link copied to clipboard
open
fun
getStartTime
(
)
:
Time
get
Trip
Time
Link copied to clipboard
open
fun
getTripTime
(
)
:
Double
hash
Code
Link copied to clipboard
fun
hashCode
(
)
:
Int
interpolate
Link copied to clipboard
open
fun
interpolate
(
time
:
Time
)
:
GeoPosition
iterator
Link copied to clipboard
fun
iterator
(
)
:
Iterator
<
P
>
abstract
fun
iterator
(
)
:
Iterator
<
T
>
length
Link copied to clipboard
fun
length
(
)
:
Double
size
Link copied to clipboard
fun
size
(
)
:
Int
spliterator
Link copied to clipboard
open
fun
spliterator
(
)
:
Spliterator
<
T
>
start
At
Link copied to clipboard
open
fun
startAt
(
time
:
Time
)
:
GPSTraceImpl
stream
Link copied to clipboard
fun
stream
(
)
:
Stream
<
P
>
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String