getElements

fun getElements(): List<HorizonElement>

Returns all the horizon elements that belong to this path.

Return

List of horizon elements that belong to this path.


fun getElements(types: List<HorizonElementType>): List<HorizonElement>

Returns all the horizon elements of the specified types that belong to this path.

Return

List of horizon elements of the given types that belong to this path.

Parameters

types

Types of horizon elements to return.


fun getElements(type: HorizonElementType): List<HorizonElement>

Returns all the horizon elements of the specified type that belong to this path.

Return

List of horizon elements of the given type that belong to this path.

Parameters

type

Type of horizon elements to return.