/* Ċ Ġ* ĠThis ĠSource ĠCode ĠForm Ġis Ġsubject Ġto Ġthe Ġterms Ġof Ġthe ĠMozilla ĠPublic Ċ Ġ* ĠLicense , Ġv . Ġ 2 . 0 . ĠIf Ġa Ġcopy Ġof Ġthe ĠM PL Ġwas Ġnot Ġdistributed Ġwith Ġthis Ċ Ġ* Ġfile , ĠYou Ġcan Ġobtain Ġone Ġat Ġhttps :// mozilla . org / MPL / 2 . 0 /. Ċ Ġ* Ċ Ġ* ĠCopyright Ġ 2 0 1 9 , ĠGreen ĠHope ĠF al cons Ċ Ġ*/ Ċ Ċ package Ġorg . gh robot ics . lib . mat hematic s . units Ċ Ċ object ĠMeter Ġ: ĠSI Key Ċ Ċ const Ġval Ġk In ch To Meter Ġ= Ġ 0 . 0 2 5 4 Ċ const Ġval Ġk Th ou To Meter Ġ= Ġk In ch To Meter Ġ* Ġ 0 . 0 0 1 Ċ const Ġval Ġk Line To Meter Ġ= Ġk In ch To Meter Ġ* Ġ( 1 . 0 Ġ/ Ġ 1 2 . 0 ) Ċ const Ġval Ġk Fe et To Meter Ġ= Ġk In ch To Meter Ġ* Ġ 1 2 . 0 Ċ const Ġval Ġk Y ard To Meter Ġ= Ġk Fe et To Meter Ġ* Ġ 3 . 0 Ċ const Ġval Ġk M ile To Meter Ġ= Ġk Fe et To Meter Ġ* Ġ 5 2 8 0 . 0 Ċ const Ġval Ġk League To Meter Ġ= Ġk M ile To Meter Ġ* Ġ 3 . 0 Ċ const Ġval Ġk N aut ical M ile Ġ= Ġ 1 8 5 2 . 0 Ċ const Ġval Ġk Light Year To Meter Ġ= Ġ 9 4 6 0 7 3 0 4 7 2 5 8 0 8 0 0 . 0 Ċ Ċ val ĠDouble . meters Ġget () Ġ= ĠSI Unit < Meter >( this ) Ċ val ĠDouble . th ou Ġget () Ġ= ĠSI Unit < Meter >( times ( k Th ou To Meter )) Ċ val ĠDouble . lines Ġget () Ġ= ĠSI Unit < Meter >( times ( k Line To Meter )) Ċ val ĠDouble . inches Ġget () Ġ= ĠSI Unit < Meter >( times ( k In ch To Meter )) Ċ val ĠDouble . fe et Ġget () Ġ= ĠSI Unit < Meter >( times ( k Fe et To Meter )) Ċ val ĠDouble . y ards Ġget () Ġ= ĠSI Unit < Meter >( times ( k Y ard To Meter )) Ċ val ĠDouble . m iles Ġget () Ġ= ĠSI Unit < Meter >( times ( k M ile To Meter )) Ċ val ĠDouble . le ag ues Ġget () Ġ= ĠSI Unit < Meter >( times ( k League To Meter )) Ċ val ĠDouble . na ut ical M iles Ġget () Ġ= ĠSI Unit < Meter >( times ( k N aut ical M ile )) Ċ val ĠDouble . light Years Ġget () Ġ= ĠSI Unit < Meter >( times ( k Light Year To Meter )) Ċ Ċ val ĠNumber . meters Ġget () Ġ= Ġto Double (). meters Ċ val ĠNumber . th ou Ġget () Ġ= Ġto Double (). th ou Ċ val ĠNumber . lines Ġget () Ġ= Ġto Double (). lines Ċ val ĠNumber . inches Ġget () Ġ= Ġto Double (). inches Ċ val ĠNumber . fe et Ġget () Ġ= Ġto Double (). fe et Ċ val ĠNumber . y ards Ġget () Ġ= Ġto Double (). y ards Ċ val ĠNumber . m iles Ġget () Ġ= Ġto Double (). m iles Ċ val ĠNumber . le ag ues Ġget () Ġ= Ġto Double (). le ag ues Ċ val ĠNumber . na ut ical M iles Ġget () Ġ= Ġto Double (). na ut ical M iles Ċ val ĠNumber . light Years Ġget () Ġ= Ġto Double (). light Years Ċ Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Th ous () ")) Ċ val ĠSI Unit < Meter >. th ou ĊĠĠĠ Ġget () Ġ= Ġin Th ou () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Lines () ")) Ċ val ĠSI Unit < Meter >. line ĊĠĠĠ Ġget () Ġ= Ġin Lines () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in In chs () ")) Ċ val ĠSI Unit < Meter >. in ch ĊĠĠĠ Ġget () Ġ= Ġin In ches () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Fe ets () ")) Ċ val ĠSI Unit < Meter >. fe et ĊĠĠĠ Ġget () Ġ= Ġin Fe et () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Y ards () ")) Ċ val ĠSI Unit < Meter >. yard ĊĠĠĠ Ġget () Ġ= Ġin Y ards () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in M iles () ")) Ċ val ĠSI Unit < Meter >. m ile ĊĠĠĠ Ġget () Ġ= Ġin M iles () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Le ag ues () ")) Ċ val ĠSI Unit < Meter >. league ĊĠĠĠ Ġget () Ġ= Ġin Le ag ues () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in N aut ical M iles () ")) Ċ val ĠSI Unit < Meter >. na ut ical M ile ĊĠĠĠ Ġget () Ġ= Ġin N aut ical M iles () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Light Years () ")) Ċ val ĠSI Unit < Meter >. light Year ĊĠĠĠ Ġget () Ġ= Ġin Light Years () Ċ Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Y ott ameters () ")) Ċ val ĠSI Unit < Meter >. y ott ameter ĊĠĠĠ Ġget () Ġ= Ġin Y ott ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Z ett ameters () ")) Ċ val ĠSI Unit < Meter >. z ett ameter ĊĠĠĠ Ġget () Ġ= Ġin Z ett ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Ex ameters () ")) Ċ val ĠSI Unit < Meter >. ex ameter ĊĠĠĠ Ġget () Ġ= Ġin Ex ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Pet ameters () ")) Ċ val ĠSI Unit < Meter >. pet ameter ĊĠĠĠ Ġget () Ġ= Ġin Pet ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Ter ameters () ")) Ċ val ĠSI Unit < Meter >. ter ameter ĊĠĠĠ Ġget () Ġ= Ġin Ter ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in G ig ameters () ")) Ċ val ĠSI Unit < Meter >. g ig ameter ĊĠĠĠ Ġget () Ġ= Ġin G ig ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Me g ameters () ")) Ċ val ĠSI Unit < Meter >. meg ameter ĊĠĠĠ Ġget () Ġ= Ġin Me g ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in K ilo meters () ")) Ċ val ĠSI Unit < Meter >. ki lo meter ĊĠĠĠ Ġget () Ġ= Ġin K ilo meters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in H ect ome ters () ")) Ċ val ĠSI Unit < Meter >. he ct ometer ĊĠĠĠ Ġget () Ġ= Ġin H ect ome ters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Dec ameters () ")) Ċ val ĠSI Unit < Meter >. dec ameter ĊĠĠĠ Ġget () Ġ= Ġin Dec ameters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Met ers () ")) Ċ val ĠSI Unit < Meter >. meter ĊĠĠĠ Ġget () Ġ= Ġin Met ers () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Dec ime ters () ")) Ċ val ĠSI Unit < Meter >. dec imeter ĊĠĠĠ Ġget () Ġ= Ġin Dec ime ters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Cent ime ters () ")) Ċ val ĠSI Unit < Meter >. cent imeter ĊĠĠĠ Ġget () Ġ= Ġin Cent ime ters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Milli meters () ")) Ċ val ĠSI Unit < Meter >. milli meter ĊĠĠĠ Ġget () Ġ= Ġin Milli meters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Micro meters () ")) Ċ val ĠSI Unit < Meter >. micro meter ĊĠĠĠ Ġget () Ġ= Ġin Micro meters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Nan ome ters () ")) Ċ val ĠSI Unit < Meter >. nan ometer ĊĠĠĠ Ġget () Ġ= Ġin Nan ome ters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Pic ome ters () ")) Ċ val ĠSI Unit < Meter >. pic ometer ĊĠĠĠ Ġget () Ġ= Ġin Pic ome ters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Fem to meters () ")) Ċ val ĠSI Unit < Meter >. f em to meter ĊĠĠĠ Ġget () Ġ= Ġin Fem to meters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in At to meters () ")) Ċ val ĠSI Unit < Meter >. at to meter ĊĠĠĠ Ġget () Ġ= Ġin At to meters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Ze pt ome ters () ")) Ċ val ĠSI Unit < Meter >. ze pt ometer ĊĠĠĠ Ġget () Ġ= Ġin Ze pt ome ters () Ċ @ Deprecated (" Re placed Ġwith ĠPl ural Ġversion ", ĠReplace With (" in Y oct ome ters () ")) Ċ val ĠSI Unit < Meter >. yo ct ometer ĊĠĠĠ Ġget () Ġ= Ġin Y oct ome ters () Ċ Ċ fun ĠSI Unit < Meter >. in Th ou () Ġ= Ġvalue . div ( k Th ou To Meter ) Ċ fun ĠSI Unit < Meter >. in Lines () Ġ= Ġvalue . div ( k Line To Meter ) Ċ fun ĠSI Unit < Meter >. in In ches () Ġ= Ġvalue . div ( k In ch To Meter ) Ċ fun ĠSI Unit < Meter >. in Fe et () Ġ= Ġvalue . div ( k Fe et To Meter ) Ċ fun ĠSI Unit < Meter >. in Y ards () Ġ= Ġvalue . div ( k Y ard To Meter ) Ċ fun ĠSI Unit < Meter >. in M iles () Ġ= Ġvalue . div ( k M ile To Meter ) Ċ fun ĠSI Unit < Meter >. in Le ag ues () Ġ= Ġvalue . div ( k League To Meter ) Ċ fun ĠSI Unit < Meter >. in N aut ical M iles () Ġ= Ġvalue . div ( k N aut ical M ile ) Ċ fun ĠSI Unit < Meter >. in Light Years () Ġ= Ġvalue . div ( k Light Year To Meter ) Ċ Ċ fun ĠSI Unit < Meter >. in Y ott ameters () Ġ= Ġvalue . div ( k Y ot ta ) Ċ fun ĠSI Unit < Meter >. in Z ett ameters () Ġ= Ġvalue . div ( k Z et ta ) Ċ fun ĠSI Unit < Meter >. in Ex ameters () Ġ= Ġvalue . div ( k Ex a ) Ċ fun ĠSI Unit < Meter >. in Pet ameters () Ġ= Ġvalue . div ( k P eta ) Ċ fun ĠSI Unit < Meter >. in Ter ameters () Ġ= Ġvalue . div ( k T era ) Ċ fun ĠSI Unit < Meter >. in G ig ameters () Ġ= Ġvalue . div ( k G iga ) Ċ fun ĠSI Unit < Meter >. in Me g ameters () Ġ= Ġvalue . div ( k Me ga ) Ċ fun ĠSI Unit < Meter >. in K ilo meters () Ġ= Ġvalue . div ( k K ilo ) Ċ fun ĠSI Unit < Meter >. in H ect ome ters () Ġ= Ġvalue . div ( k H ecto ) Ċ fun ĠSI Unit < Meter >. in Dec ameters () Ġ= Ġvalue . div ( k De ca ) Ċ fun ĠSI Unit < Meter >. in Met ers () Ġ= Ġvalue Ċ fun ĠSI Unit < Meter >. in Dec ime ters () Ġ= Ġvalue . div ( k De ci ) Ċ fun ĠSI Unit < Meter >. in Cent ime ters () Ġ= Ġvalue . div ( k Cent i ) Ċ fun ĠSI Unit < Meter >. in Milli meters () Ġ= Ġvalue . div ( k Milli ) Ċ fun ĠSI Unit < Meter >. in Micro meters () Ġ= Ġvalue . div ( k Micro ) Ċ fun ĠSI Unit < Meter >. in Nan ome ters () Ġ= Ġvalue . div ( k Nano ) Ċ fun ĠSI Unit < Meter >. in Pic ome ters () Ġ= Ġvalue . div ( k P ico ) Ċ fun ĠSI Unit < Meter >. in Fem to meters () Ġ= Ġvalue . div ( k Fem to ) Ċ fun ĠSI Unit < Meter >. in At to meters () Ġ= Ġvalue . div ( k At to ) Ċ fun ĠSI Unit < Meter >. in Ze pt ome ters () Ġ= Ġvalue . div ( k Ze pto ) Ċ fun ĠSI Unit < Meter >. in Y oct ome ters () Ġ= Ġvalue . div ( k Y oct o ) Ċ