alchemist
alchemist
/
it.unibo.alchemist.model.implementations.routes
/
PolygonalChain
Polygonal
Chain
open
class
PolygonalChain
<
P
:
Position
<
out
Any
>
?
>
:
Route
<
P
>
Content copied to clipboard
Abstract route implementation.
Constructors
Functions
Parameters
Inheritors
Parameters
<P>
the type of position that the route is composed
Constructors
Polygonal
Chain
Link copied to clipboard
@
SafeVarargs
open
fun
PolygonalChain
(
positions
:
Array
<
P
>
)
Content copied to clipboard
Polygonal
Chain
Link copied to clipboard
open
fun
PolygonalChain
(
positions
:
List
<
P
>
)
Content copied to clipboard
Functions
equals
Link copied to clipboard
fun
equals
(
other
:
Any
)
:
Boolean
Content copied to clipboard
for
Each
Link copied to clipboard
open
fun
forEach
(
action
:
Consumer
<
out
Any
>
)
Content copied to clipboard
get
Point
Link copied to clipboard
fun
getPoint
(
step
:
Int
)
:
P
Content copied to clipboard
get
Points
Link copied to clipboard
fun
getPoints
(
)
:
ImmutableList
<
P
>
Content copied to clipboard
hash
Code
Link copied to clipboard
fun
hashCode
(
)
:
Int
Content copied to clipboard
iterator
Link copied to clipboard
fun
iterator
(
)
:
Iterator
<
P
>
Content copied to clipboard
length
Link copied to clipboard
fun
length
(
)
:
Double
Content copied to clipboard
size
Link copied to clipboard
fun
size
(
)
:
Int
Content copied to clipboard
spliterator
Link copied to clipboard
open
fun
spliterator
(
)
:
Spliterator
<
T
>
Content copied to clipboard
stream
Link copied to clipboard
fun
stream
(
)
:
Stream
<
P
>
Content copied to clipboard
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Content copied to clipboard
Prints the class name and the list of positions.
Inheritors
GPSTraceImpl
Link copied to clipboard