Interface Mount

All Known Implementing Classes:
ArmSim, LinearSim

public interface Mount
A simulated component that other mechanisms attach to. A mounted mechanism reads these values each period to work out its own canvas position.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Current angle in radians.
    double
    Horizontal displacement from where this mount started, in metres.
    double
    Vertical displacement from where this mount started, in metres.
     
    double
    Attachment point X in metres.
    double
    Attachment point Y in metres.
  • Method Details

    • getMountType

      Mount.MountType getMountType()
    • getDisplacementX

      double getDisplacementX()
      Horizontal displacement from where this mount started, in metres.
    • getDisplacementY

      double getDisplacementY()
      Vertical displacement from where this mount started, in metres.
    • getAngle

      double getAngle()
      Current angle in radians.
    • getMountX

      double getMountX()
      Attachment point X in metres.
    • getMountY

      double getMountY()
      Attachment point Y in metres.