Class Index | File Index

Classes


Class LengthUnit


Defined in: LengthUnit.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Unit used for lengths.
Field Summary
Field Attributes Field Name and Description
<static>  
LengthUnit.CENTIMETER
Centimeter unit.
<static>  
LengthUnit.INCH
Foot/Inch unit followed by fractions.
<static>  
LengthUnit.INCH_DECIMALS
Inch unit with decimals.
<static>  
LengthUnit.METER
Meter unit.
<static>  
LengthUnit.MILLIMETER
Millimeter unit.
Method Summary
Method Attributes Method Name and Description
<static>  
LengthUnit.centimeterToFoot(length)
Returns the length given in centimeters converted to feet.
<static>  
LengthUnit.centimeterToInch(length)
Returns the length given in centimeters converted to inches.
<static>  
LengthUnit.footToCentimeter(length)
Returns the length given in feet converted to centimeters.
<static>  
LengthUnit.inchToCentimeter(length)
Returns the length given in inches converted to centimeters.
Class Detail
LengthUnit()
Unit used for lengths.
Author: Emmanuel Puybaret.
Field Detail
<static> LengthUnit.CENTIMETER
Centimeter unit.

<static> LengthUnit.INCH
Foot/Inch unit followed by fractions.

<static> LengthUnit.INCH_DECIMALS
Inch unit with decimals.

<static> LengthUnit.METER
Meter unit.

<static> LengthUnit.MILLIMETER
Millimeter unit.
Method Detail
<static> LengthUnit.centimeterToFoot(length)
Returns the length given in centimeters converted to feet.
Parameters:
length

<static> LengthUnit.centimeterToInch(length)
Returns the length given in centimeters converted to inches.
Parameters:
length

<static> LengthUnit.footToCentimeter(length)
Returns the length given in feet converted to centimeters.
Parameters:
length

<static> LengthUnit.inchToCentimeter(length)
Returns the length given in inches converted to centimeters.
Parameters:
length

© Copyrights 2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Oct 25 2017 16:36:09 GMT+0200 (CEST)