We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fabc67e commit 54d0d43Copy full SHA for 54d0d43
1 file changed
src/main/java/mil/nga/crs/common/Units.java
@@ -39,6 +39,11 @@ public class Units {
39
*/
40
public static final String US_SURVEY_FOOT = "US survey foot";
41
42
+ /**
43
+ * Foot unit name
44
+ */
45
+ public static final String FOOT = "foot";
46
+
47
/**
48
* Microradian unit name
49
@@ -198,6 +203,15 @@ public static Unit getUSSurveyFoot() {
198
203
return new Unit(UnitType.LENGTHUNIT, US_SURVEY_FOOT, 0.304800609601219);
199
204
}
200
205
206
207
+ * Get a foot unit
208
+ *
209
+ * @return foot unit
210
211
+ public static Unit getFoot() {
212
+ return new Unit(UnitType.LENGTHUNIT, FOOT, 0.3048);
213
+ }
214
201
215
202
216
* Get a microradian unit
217
*
0 commit comments