toggle menu
alchemist
35.0.3
jvm
switch theme
search in API
alchemist-implementationbase
/
it.unibo.alchemist.model.routes
/
PolygonalChain
Polygonal
Chain
open
class
PolygonalChain
<
P
:
Position
<
out
Any
>
?
>
:
Route
<
P
>
(
source
)
Abstract route implementation.
Parameters
<P>
the type of position that the route is composed
Members
Constructors
Polygonal
Chain
Link copied to clipboard
@
SafeVarargs
constructor
(
positions
:
Array
<
P
>
)
constructor
(
positions
:
List
<
P
>
)
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
Point
Link copied to clipboard
fun
getPoint
(
step
:
Int
)
:
P
get
Points
Link copied to clipboard
fun
getPoints
(
)
:
ImmutableList
<
P
>
hash
Code
Link copied to clipboard
fun
hashCode
(
)
:
Int
iterator
Link copied to clipboard
@
Nonnull
fun
iterator
(
)
:
Iterator
<
P
>
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
>
stream
Link copied to clipboard
fun
stream
(
)
:
Stream
<
P
>
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Prints the class name and the list of positions.