M P I Directions
data class MPIDirections(distance: Double, path: List<MPINavigatable.MPINode>, instructions: List<MPIDirections.MPIInstruction>)
Content copied to clipboard
MPIDirections contains paths and instructions to go from an MPINavigatable object to another MPINavigatable object
Constructors
MPIDirections
Link copied to clipboard
fun MPIDirections(distance: Double, path: List<MPINavigatable.MPINode>, instructions: List<MPIDirections.MPIInstruction>)
Content copied to clipboard
Types
MPIAction
Link copied to clipboard
data class MPIAction(type: MPIActionType?, bearing: MPIBearingType?, referencePosition: String?, fromMap: MPIMap?, toMap: MPIMap?)
Content copied to clipboard
This class represents the type of action to be taken in a specific MPIInstruction
MPIInstruction
Link copied to clipboard
data class MPIInstruction(action: MPIDirections.MPIAction?, instruction: String?, node: MPINavigatable.MPINode?, distance: Double?, atVortex: MPINavigatable.MPIVortex?)
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
copy
Link copied to clipboard
fun copy(distance: Double, path: List<MPINavigatable.MPINode>, instructions: List<MPIDirections.MPIInstruction>): MPIDirections
Content copied to clipboard