class NMEAPlus::Message::AIS::VDMPayload::SubArea3::ShapePoint
Container for bearing / distance
Attributes
@overload bearing
@return [Integer]
@overload bearing=(Integer)
Sets bearing @param [Integer] new value
@overload distance
@return [Integer]
@overload distance=(Integer)
Sets distance @param [Integer] new value
@overload scale_factor
@return [Integer]
@overload scale_factor
=(Integer)
Sets scale factor @param [Integer] new value
Public Instance Methods
Source
# File lib/nmea_plus/message/ais/vdm_payload/sub_area.rb, line 129 def distance_meters distance * (10**scale_factor) end
@!parse attr_reader :distance_meters @return [Integer] The scaled distance in meters