MPIAction

MPIActionrepresents the action to be performed in a specific MPIInstruction

  • An optional type of the MPIAction

    • Example: TakeVortex
  • If the type is Turn, there is also a bearing type of the MPIAction; otherwise, bearing type is nil.

    • Example: Left
  • referencePosition has no use cases for now.

    Note

    referencePosition serves as a placeholder for instruction improvements.
  • If the type of an MPIAction is TakeVortex or ExitVortex, fromMap represents theMPIMap of departure; otherwise, fromMap is nil.

  • If the type of an MPIActionis TakeVortex or ExitVortex, toMap represents the MPIMap of destination; otherwise, toMap is nil.