Skip to content

515447b3 ca72 7d4e 7a5d ca2e68d2c653

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Mass.CreateQuantity Method

Creates a mass quantity.

Namespace: Sundew.Quantities.Mechanics
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public override Mass CreateQuantity(
	double value,
	IUnit unit
)

C#

public override Mass CreateQuantity(
	double value,
	IUnit unit
)

VB

Public Overrides Function CreateQuantity ( 
	value As Double,
	unit As IUnit
) As Mass

VB

Public Overrides Function CreateQuantity ( 
	value As Double,
	unit As IUnit
) As Mass

C++

public:
virtual Mass^ CreateQuantity(
	double value, 
	IUnit^ unit
) override

C++

public:
virtual Mass^ CreateQuantity(
	double value, 
	IUnit^ unit
) override

F#

abstract CreateQuantity : 
        value : float * 
        unit : IUnit -> Mass 
override CreateQuantity : 
        value : float * 
        unit : IUnit -> Mass 

F#

abstract CreateQuantity : 
        value : float * 
        unit : IUnit -> Mass 
override CreateQuantity : 
        value : float * 
        unit : IUnit -> Mass 

Parameters

 

value
Type: System.Double
The value.
unit
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Units.IUnit
The unit.

Return Value

Type: Mass
A Mass.

Implements

IQuantity(TQuantity).CreateQuantity(Double, IUnit)

See Also

Reference

Mass Class
Sundew.Quantities.Mechanics Namespace

Clone this wiki locally