PolygonalChain

open class PolygonalChain<P : Position<out Any>?> : Route<P> (source)

Abstract route implementation.

Parameters

<P>

the type of position that the route is composed

Constructors

Link copied to clipboard
constructor(positions: Array<P>)
constructor(positions: List<P>)

Functions

Link copied to clipboard
fun equals(other: Any): Boolean
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
fun getPoint(step: Int): P
Link copied to clipboard
fun getPoints(): ImmutableList<P>
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
@Nonnull
fun iterator(): Iterator<P>
Link copied to clipboard
fun length(): Double
Link copied to clipboard
fun size(): Int
Link copied to clipboard
Link copied to clipboard
fun stream(): Stream<P>
Link copied to clipboard
open fun toString(): String
Prints the class name and the list of positions.