Class RotationComponent

java.lang.Object
gaiasky.scene.record.RotationComponent
All Implemented Interfaces:
IUpdatable<RotationComponent>

public class RotationComponent extends Object implements IUpdatable<RotationComponent>
  • Field Details Link icon

    • angularVelocity Link icon

      public double angularVelocity
      Angular velocity [deg/hour] around the rotation axis.
    • angle Link icon

      public double angle
      Current angle with respect to the rotationAxis in degrees.
    • period Link icon

      public double period
      The rotation period in hours.
    • axialTilt Link icon

      public double axialTilt
      Angle between equatorial plane and orbital plane in degrees.
    • inclination Link icon

      public double inclination
      Angle between orbital plane and the ecliptic in degrees.
    • ascendingNode Link icon

      public double ascendingNode
      The ascending node in degrees, should not be used, as it obviously causes the body to wobble.
    • meridianAngle Link icon

      public double meridianAngle
      The meridian (hour) angle at the epoch J2000.0, in degrees
  • Constructor Details Link icon

    • RotationComponent Link icon

      public RotationComponent()
  • Method Details Link icon

    • setPeriod Link icon

      public void setPeriod(Double rotationPeriod)
      Sets the rotation period.
      Parameters:
      rotationPeriod - The rotation period in hours.
    • update Link icon

      public void update(ITimeFrameProvider time)
    • setAxialTilt Link icon

      public void setAxialTilt(Double f)
      Sets the axial tilt, the angle between the equatorial plane and the orbital plane.
      Parameters:
      f - Angle in deg.
    • setAxialtilt Link icon

      public void setAxialtilt(Double f)
    • setAngle Link icon

      public void setAngle(Double angle)
    • setInclination Link icon

      public void setInclination(Double i)
      Sets the inclination, the angle between the orbital plane and the reference plane
      Parameters:
      i - Inclination in deg.
    • setInclination Link icon

      public void setInclination(Long i)
      Sets the inclination, the angle between the orbital plane and the reference plane
      Parameters:
      i - Inclination in deg.
    • setAscendingNode Link icon

      public void setAscendingNode(Double an)
      Sets the ascending node.
      Parameters:
      an - Angle in deg.
    • setAscendingnode Link icon

      public void setAscendingnode(Double an)
    • setMeridianAngle Link icon

      public void setMeridianAngle(Double ma)
      Sets the meridian angle.
      Parameters:
      ma - Angle in deg.
    • setMeridianangle Link icon

      public void setMeridianangle(Double ma)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • copyFrom Link icon

      public void copyFrom(RotationComponent other)
    • updateWith Link icon

      public void updateWith(RotationComponent object)
      Specified by:
      updateWith in interface IUpdatable<RotationComponent>
    • copy Link icon

      public RotationComponent copy()