Documentation - v19.12.0-dev
    Preparing search index...

    Creates a missing route endpoint or moves the existing one, preserving its state for undo.

    Hierarchy (View Summary)

    • Command<void>
      • SetNavigationRoutePointCommand
    Index

    Constructors

    Properties

    isUndoable: true

    Indicates whether the command is undoable and redoable

    isUpdatable: true

    Indicated whether the command can be updated

    name: string = 'SetNavigationRoutePointCommand'

    Name of the command

    position: Vector3
    viewer: Viewer

    Accessors

    • get hasBeenExecuted(): boolean

      Returns boolean

    Methods

    • Cleans the command footprint.

      Returns Promise<void>

    • Actions to execute during the execute method

      Returns Promise<void>

    • Actions to execute during the undo method

      Returns Promise<void>

    • Parameters

      • cmd: this

      Returns boolean

    • Returns void

    • Updates the command with a latest version of the required parameters.

      The update method can be called during continuous user interactions (such as mousemove, mousedrag or color changes) where the command to fire can be updated accordingly to the user inputs instead of creating a new command for each value.

      Note

      • The attribute isUpdatable indicates if a command can be updated

      Parameters

      • position: Vector3

      Returns Promise<void>