001/* 002 * Inertia -- The quantify of mass moment of inertia. 003 * 004 * Copyright (C) 2015, Joseph A. Huwaldt. 005 * All rights reserved. 006 * 007 * This program is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU General Public License 009 * as published by the Free Software Foundation; either version 2 010 * of the License, or (at your option) any later version. 011 * 012 * This program is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 015 * GNU General Public License for more details. 016 * 017 * You should have received a copy of the GNU General Public License 018 * along with this program; if not, write to the Free Software 019 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 020 * Or visit: http://www.gnu.org/licenses/gpl.html 021 */ 022package jahuwaldt.js.unit; 023 024import javax.measure.quantity.Quantity; 025import javax.measure.unit.SI; 026import javax.measure.unit.Unit; 027 028/** 029 * This interface represents the mass moment of inertia. 030 * The system unit for this quantity is "kg*m^2" (kilogram meter squared). 031 * 032 * <p> Modified by: Joseph A. Huwaldt </p> 033 * 034 * @author Joseph A. Huwaldt, Date: October 23, 2015 035 * @version October 29, 2015 036 * @see <a href="https://en.wikipedia.org/wiki/Moment_of_inertia"> 037 * Wikipedia: Moment of Inertia</a> 038 */ 039public interface Inertia extends Quantity { 040 041 /** 042 * Holds the SI unit (Système International d'Unités) for this quantity. 043 */ 044 @SuppressWarnings("unchecked") 045 public final static Unit<Inertia> UNIT 046 = (Unit<Inertia>) SI.KILOGRAM.times(SI.METER.pow(2)); 047 048}