Class TrajectoryUtils

java.lang.Object
gaiasky.scene.entity.TrajectoryUtils

public class TrajectoryUtils extends Object
  • Field Details

    • orbitRefresher

      public static OrbitRefresher orbitRefresher
      The trajectory refresher daemon.
  • Constructor Details

    • TrajectoryUtils

      public TrajectoryUtils()
  • Method Details

    • initRefresher

      public static void initRefresher()
      Initialize the trajectory refresher daemon.
    • initOrbitMetadata

      public void initOrbitMetadata(Body body, Trajectory trajectory, Verts verts)
    • updateSize

      public void updateSize(Body body, Trajectory trajectory, Verts verts)
    • initializeTransformMatrix

      public void initializeTransformMatrix(Trajectory trajectory, GraphNode graph, RefSysTransform transform)
    • computeExtrasolarSystemTransformMatrix

      public void computeExtrasolarSystemTransformMatrix(GraphNode graph, RefSysTransform transform)
    • refreshOrbit

      public void refreshOrbit(Trajectory trajectory, Verts verts, boolean force)
      Queues a trajectory refresh task with the refresher for this trajectory.
      Parameters:
      verts - The verts object containing the data.
      force - Whether to force the refresh.