Class Index [+]

Quicksearch

When::TM::Coordinate

時間座標 - 単一の時間間隔によって定義する連続な間隔尺度を基礎とする

see gml schema

Attributes

universal_time[RW]

内部時間による時間座標値

  type : Numeric

Public Class Methods

dynamical_time(dynamical_time, options={}) click to toggle source

外部時間によるオブジェクトの生成

  dynamical_time : Numeric
    外部時間による時間座標値

  options        : Hash
    :time_standard => When::Ephemeris::TimeStandard
     # File when/tmposition.rb, line 773
773:       def dynamical_time(dynamical_time, options={})
774:         new(When.IRI(options[:time_standard] || 'UniversalTime', '_e:').from_dynamical_time(dynamical_time), options)
775:       end
new(universal_time, options={}) click to toggle source

オブジェクトの生成

  universal_time : Numeric
    内部時間による時間座標値

  options        : Hash
    :frame => When::TM::CoordinateSystem
     # File when/tmposition.rb, line 828
828:     def initialize(universal_time, options={})
829:       super(options)
830:       @universal_time = universal_time
831:     end

Public Instance Methods

+(other) click to toggle source

加算

  other   : Numeric or When::TM::IntervalLength

  returns : When::TM::TemporalPosition
     # File when/tmposition.rb, line 803
803:     def +(other)
804:       raise TypeError,"The right operand should be IntervalLength" if other.kind_of?(PeriodDuration)
805:       super
806:     end
-(other) click to toggle source

減算

  other   : When::TM::(Temporal)Position, Numeric or When::TM::IntervalLength

  returns : When::TM::TemporalPosition if other is a Numeric or When::TM::IntervalLength
            When::TM::IntervalLength   if other is a When::TM::TemporalPosition
     # File when/tmposition.rb, line 815
815:     def -(other)
816:       raise TypeError,"The right operand should be IntervalLength or (Temporal)Position" if other.kind_of?(PeriodDuration)
817:       super
818:     end
coordinateValue() click to toggle source

CoordinateSystem による時間座標値

  returns : Numeric
     # File when/tmposition.rb, line 793
793:     def coordinateValue
794:       (universal_time - frame.origin.universal_time) / +frame.interval
795:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.