枚举的使用
net.sf.marineapi.nmea.util.CompassPoint
使用CompassPoint的程序包
程序包
说明
NMEA 0183 sentence parsers.
NMEA 0183 sentence interfaces for supported sentences.
NMEA 0183 sentence utilities for handling the data extracted from sentences.
-
net.sf.marineapi.nmea.parser中CompassPoint的使用
修饰符和类型方法说明static CompassPointPositionParser.parseHemisphereLat(char ch) Parses the hemisphere of latitude from specified char.protected CompassPointPositionParser.parseHemisphereLat(int index) Parses the hemisphere of latitude from specified field.static CompassPointPositionParser.parseHemisphereLon(char ch) Parses the hemisphere of longitude from the specified char.protected CompassPointPositionParser.parseHemisphereLon(int index) Parses the hemisphere of longitude from the specified field.参数类型为CompassPoint的net.sf.marineapi.nmea.parser中的方法修饰符和类型方法说明protected voidPositionParser.setLatHemisphere(int field, CompassPoint hem) Set the hemisphere of latitude in specified field.protected voidPositionParser.setLonHemisphere(int field, CompassPoint hem) Set the hemisphere of longitude in specified field. -
net.sf.marineapi.nmea.sentence中CompassPoint的使用
修饰符和类型方法说明RMCSentence.getDirectionOfVariation()Get the direction of magnetic variation; east or west.修饰符和类型方法说明voidRMCSentence.setDirectionOfVariation(CompassPoint dir) Set the direction of magnetic variation, east or west. -
net.sf.marineapi.nmea.util中CompassPoint的使用
修饰符和类型方法说明Position.getLatitudeHemisphere()Get the hemisphere of latitude, North or South.Position.getLongitudeHemisphere()Get the hemisphere of longitude, East or West.static CompassPointCompassPoint.valueOf(char c) Get the enum corresponding to specified char.static CompassPoint返回带有指定名称的该类型的枚举常量。static CompassPoint[]CompassPoint.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。