Volume(Length, Length, Length) Constructor

Creates a new Volume whose value is the multiple of three Length values.

Definition

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.2.9017.0
C#
public Volume(
	Length x,
	Length y,
	Length z
)

Parameters

x  Length
The first Length dimension of the Volume.
y  Length
The second Length dimension of the Volume.
z  Length
The third Length dimension of the Volume.

Remarks

The new Volume will be instantiated using Liter units.

Example

The following example creates a Volume of 1 L:
C#
Unit unit = new Meter();
MetricExponent exponent = MetricExponent.Deci;
double value = 1d;

Length length1 = new Length(value, unit, exponent);
Length length2 = new Length(value, unit, exponent)
Length length3 = new Length(value, unit, exponent)

Volume liter = new Liter(length1, length2, length3);

See Also