@@ -129,19 +129,20 @@ public Length Min(Length rhs) =>
129129 public Length Max ( Length rhs ) =>
130130 new ( Math . Max ( Value , rhs . Value ) ) ;
131131
132- public double Miles => Value * 6.2137119223484848484848484848485e-4 ;
133- public double Yards => Value * 1.0936132983333333333333333333333 ;
134- public double Feet => Value * 3.280839895 ;
135- public double Inches => Value * 39.37007874 ;
136- public double Kilometres => Value / 1000.0 ;
137- public double Hectometres => Value / 100.0 ;
138- public double Decametres => Value / 10.0 ;
139- public double Metres => Value ;
140- public double Centimetres => Value * 100.0 ;
141- public double Millimetres => Value * 1000.0 ;
142- public double Micrometres => Value * 1000000.0 ;
143- public double Nanometres => Value * 1000000000.0 ;
144- public double Angstroms => Value * 10000000000.0 ;
132+ public double Miles => Value * 6.2137119223484848484848484848485e-4 ;
133+ public double NauticalMiles => Value * 1852.0 ;
134+ public double Yards => Value * 1.0936132983333333333333333333333 ;
135+ public double Feet => Value * 3.280839895 ;
136+ public double Inches => Value * 39.37007874 ;
137+ public double Kilometres => Value / 1000.0 ;
138+ public double Hectometres => Value / 100.0 ;
139+ public double Decametres => Value / 10.0 ;
140+ public double Metres => Value ;
141+ public double Centimetres => Value * 100.0 ;
142+ public double Millimetres => Value * 1000.0 ;
143+ public double Micrometres => Value * 1000000.0 ;
144+ public double Nanometres => Value * 1000000000.0 ;
145+ public double Angstroms => Value * 10000000000.0 ;
145146
146147 static Fin < Length > DomainType < Length , double > . From ( double repr ) =>
147148 new Length ( repr ) ;
@@ -164,6 +165,15 @@ public static Length Miles(this float self) =>
164165 public static Length Miles ( this double self ) =>
165166 new ( 1609.344000006437376000025749504 * self ) ;
166167
168+ public static Length NauticalMiles ( this int self ) =>
169+ new ( self / 1852.0 ) ;
170+
171+ public static Length NauticalMiles ( this float self ) =>
172+ new ( self / 1852.0 ) ;
173+
174+ public static Length NauticalMiles ( this double self ) =>
175+ new ( self / 1852.0 ) ;
176+
167177 public static Length Yards ( this int self ) =>
168178 new ( 0.9144000000036576000000146304 * self ) ;
169179
0 commit comments