Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[uomo-dev] Quantity instanciation

Hi all ,

My company is working on a new project that requires the use of units. I wanted to use UOMo to help us doing it. However, when I try instanciating a quantity I have several problem.

I first try:

Angle a = new AngleAmount(12,SI.RADIAN); but this is not right as AngleAmount does not implements Angle.

I also tried  :

QuantityFactory.getInstance(Angle.class).create(12, SI.RADIAN) but Quantity factory is not public.

 

How can I create an Angle?

 

Thank you in advance.

 

 


 

 

Sébastien Deries
Tel. : + 33 (0)4 92 96 31 52
sebastien.deries@xxxxxxxxxxxxxxx

 

[@@ THALES GROUP INTERNAL @@]

 


Back to the top