KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > measure > quantities > Torque


1 /*
2  * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
3  * Copyright (C) 2006 - JScience (http://jscience.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 package javax.measure.quantities;
10 import javax.measure.units.ProductUnit;
11 import javax.measure.units.SI;
12 import javax.measure.units.Unit;
13
14 /**
15  * This interface represents the moment of a force. The system unit for this
16  * quantity is "N·m" (Newton-Meter).
17  *
18  * <p> Note: The Newton-metre ("N·m") is also a way of exressing a Joule (unit
19  * of energy). However, torque is not energy. So, to avoid confusion, we
20  * will use the units "N·m" for torque and not "J". This distinction occurs
21  * due to the scalar nature of energy and the vector nature of torque.</p>
22  *
23  * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
24  * @version 1.0, January 14, 2006
25  */

26 public interface Torque extends Quantity<Torque> {
27
28     /**
29      * Holds the SI unit (Système International d'Unités) for this quantity.
30      */

31     public final static Unit<Torque> UNIT =
32         new ProductUnit<Torque>(SI.NEWTON.times(SI.METER));
33
34 }
35
Popular Tags