LinearUnit Constructor

public LinearUnit()

public LinearUnit(const LinearUnit &source)

 

Description

The LinearUnit constructor creates a new instance of the LinearUnit class.  The default constructor takes no arguments and produces a LinearUnit equivalent to meters.  The second constructor is a copy-constructor, which produces a LinearUnit with the same value as the LinearUnit passed as argument.