squants.motion

Force

case class Force(mass: Mass, acc: Acceleration) extends Quantity[Force] with TimeDerivative[Momentum] with TimeIntegral[Yank] with Product with Serializable

mass

Mass

acc

Acceleration

Since

0.1

Linear Supertypes
Product, Equals, TimeIntegral[Yank], TimeDerivative[Momentum], Quantity[Force], Serializable, Serializable, Ordered[Force], Comparable[Force], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Force
  2. Product
  3. Equals
  4. TimeIntegral
  5. TimeDerivative
  6. Quantity
  7. Serializable
  8. Serializable
  9. Ordered
  10. Comparable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Force(mass: Mass, acc: Acceleration)

    mass

    Mass

    acc

    Acceleration

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def %(that: Force): Double

    Definition Classes
    Quantity
  5. def %(that: Double): Force

    Definition Classes
    Quantity
  6. def *(that: Length): Energy

  7. def *(that: time.Time): Momentum

    Returns the amount of change in the integral that will happen over the given Time

    Returns the amount of change in the integral that will happen over the given Time

    that

    Time

    returns

    Definition Classes
    TimeDerivative
  8. def *(that: Double): Force

    Definition Classes
    Quantity
  9. def +(that: Force): Force

    Definition Classes
    Quantity
  10. def +-(that: Force): QuantityRange[Force]

    Definition Classes
    Quantity
  11. def -(that: Force): Force

    Definition Classes
    Quantity
  12. def /(that: Yank): Time

    Returns the amount time required to achieve the given change in the Derivative

    Returns the amount time required to achieve the given change in the Derivative

    that

    Derivative

    returns

    Definition Classes
    ForceTimeIntegral
  13. def /(that: Time): Yank

    Returns the Time Derivative which represents a change of the underlying quantity equal to this quantity over the given time.

    Returns the Time Derivative which represents a change of the underlying quantity equal to this quantity over the given time.

    that

    Time

    returns

    Definition Classes
    ForceTimeIntegral
  14. def /(that: Pressure): Area

  15. def /(that: Area): Pressure

  16. def /(that: Acceleration): Mass

  17. def /(that: Mass): Acceleration

  18. def /(that: Length): Nothing

  19. def /(that: Force): Double

    Definition Classes
    Quantity
  20. def /(that: Double): Force

    Definition Classes
    Quantity
  21. def /%(that: Force): (Double, Force)

    Definition Classes
    Quantity
  22. def /%(that: Double): (Force, Force)

    Definition Classes
    Quantity
  23. def <(that: Force): Boolean

    Definition Classes
    Ordered
  24. def <=(that: Force): Boolean

    Definition Classes
    Ordered
  25. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  27. def =~(that: Force)(implicit tolerance: Force): Boolean

    approx

    approx

    Definition Classes
    Quantity
  28. def >(that: Force): Boolean

    Definition Classes
    Ordered
  29. def >=(that: Force): Boolean

    Definition Classes
    Ordered
  30. def abs: Force

    Returns the absolute value of this Quantity

    Returns the absolute value of this Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  31. val acc: Acceleration

    Acceleration

  32. def approx(that: Force)(implicit tolerance: Force): Boolean

    Returns boolean result of approximate equality comparison

    Returns boolean result of approximate equality comparison

    that

    Quantity

    tolerance

    Quantity

    returns

    Definition Classes
    Quantity
  33. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  34. def change: Momentum

    Definition Classes
    ForceTimeDerivative
  35. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def compare(that: Force): Int

    Implements Ordered.

    Implements Ordered.compare

    that

    Quantity

    returns

    Int

    Definition Classes
    Quantity → Ordered
  37. def compareTo(that: Force): Int

    Definition Classes
    Ordered → Comparable
  38. def divide(that: Force): Double

    Divide this quantity by a like quantity

    Divide this quantity by a like quantity

    that

    Quantity

    returns

    Double

    Definition Classes
    Quantity
  39. def divide(that: Double): Force

    Divide this quantity by some number

    Divide this quantity by some number

    that

    Double

    returns

    Quantity

    Definition Classes
    Quantity
  40. def divideAndRemainder(that: Force): (Double, Force)

    Returns a Pair that includes the result of divideToInteger and remainder

    Returns a Pair that includes the result of divideToInteger and remainder

    that

    Quantity

    returns

    (Double, Quantity)

    Definition Classes
    Quantity
  41. def divideAndRemainder(that: Double): (Force, Force)

    Returns a Pair that includes the result of divideToInteger and remainder

    Returns a Pair that includes the result of divideToInteger and remainder

    that

    Double

    returns

    (Quantity, Quantity)

    Definition Classes
    Quantity
  42. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. def equals(that: Any): Boolean

    Override of equals method

    Override of equals method

    that

    must be of matching value and unit

    returns

    Definition Classes
    Quantity → AnyRef → Any
  44. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  46. def hashCode(): Int

    Override of hashCode

    Override of hashCode

    returns

    Definition Classes
    Quantity → AnyRef → Any
  47. def in(unit: UnitOfMeasure[Force]): Force

    Returns an equivalent Quantity boxed with the supplied Unit

    Returns an equivalent Quantity boxed with the supplied Unit

    This is really only useful for Quantity classes that box at the UOM level e.g. Temperature and currently Time

    unit

    UnitOfMeasure[A]

    returns

    Quantity

    Definition Classes
    Quantity
  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. val mass: Mass

    Mass

  50. def max(that: Force): Force

    Returns the max of this and that Quantity

    Returns the max of this and that Quantity

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  51. def min(that: Force): Force

    Returns the min of this and that Quantity

    Returns the min of this and that Quantity

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  52. def minus(that: Force): Force

    Subtract two like quantities

    Subtract two like quantities

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  53. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  54. def negate: Force

    Returns the negative value of this Quantity

    Returns the negative value of this Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  55. def notWithin(range: QuantityRange[Force]): Boolean

    Returns true if this value is not within (contains) the range

    Returns true if this value is not within (contains) the range

    range

    QuantityRange

    returns

    Boolean

    Definition Classes
    Quantity
  56. final def notify(): Unit

    Definition Classes
    AnyRef
  57. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  58. def plus(that: Force): Force

    Add two like quantities

    Add two like quantities

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  59. def plusOrMinus(that: Force): QuantityRange[Force]

    Returns a QuantityRange representing the range for this value +- that

    Returns a QuantityRange representing the range for this value +- that

    that

    Quantity

    returns

    QuantityRange

    Definition Classes
    Quantity
  60. def remainder(that: Force): Double

    Returns the remainder of a division by a like quantity

    Returns the remainder of a division by a like quantity

    that

    Quantity

    returns

    Double

    Definition Classes
    Quantity
  61. def remainder(that: Double): Force

    Returns the remainder of a division by a number

    Returns the remainder of a division by a number

    that

    Quantity

    returns

    Quantity

    Definition Classes
    Quantity
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  63. def time: time.Time

    Definition Classes
    ForceTimeDerivative
  64. def times(that: Double): Force

    Multiply this quantity by some number

    Multiply this quantity by some number

    that

    Double

    returns

    Quantity

    Definition Classes
    Quantity
  65. def to(unit: ForceUnit): Double

  66. def to(unit: UnitOfMeasure[Force]): Double

    Returns a Double representing the quantity in terms of the supplied unit

    Returns a Double representing the quantity in terms of the supplied unit

    val d = Feet(3)
    (d to Inches) should be(36)
    unit

    UnitOfMeasure[A]

    returns

    Double

    Definition Classes
    Quantity
  67. def to(that: Force): QuantityRange[Force]

    Returns a QuantityRange that goes from this to that

    Returns a QuantityRange that goes from this to that

    that

    Quantity

    returns

    QuantityRange

    Definition Classes
    Quantity
  68. def toKilogramForce: Double

  69. def toNewtons: Double

  70. def toPoundForce: Double

  71. def toString(unit: ForceUnit): String

  72. def toString(unit: UnitOfMeasure[Force]): String

    Returns a string representing the quantity's value in the given unit

    Returns a string representing the quantity's value in the given unit

    unit

    UnitOfMeasure[A] with UnitConverter

    returns

    String

    Definition Classes
    Quantity
  73. def toString(): String

    Returns a string representing the quantity's value in valueUnits

    Returns a string representing the quantity's value in valueUnits

    returns

    String

    Definition Classes
    Quantity → AnyRef → Any
  74. def unary_-(): Force

    Definition Classes
    Quantity
  75. def value: Double

    The value of the quantity given the valueUnits

    The value of the quantity given the valueUnits

    returns

    Double

    Definition Classes
    ForceQuantity
  76. def valueUnit: Newtons.type

    The Unit of Measure used for the quantity's underlying value

    The Unit of Measure used for the quantity's underlying value

    returns

    UnitOfMeasure[A]

    Definition Classes
    ForceQuantity
  77. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def within(range: QuantityRange[Force]): Boolean

    Returns true if this value is within (contains) the range

    Returns true if this value is within (contains) the range

    range

    QuantityRange

    returns

    Boolean

    Definition Classes
    Quantity
  81. def ~=(that: Force)(implicit tolerance: Force): Boolean

    approx - more natural operator but has low precedence and requires parens

    approx - more natural operator but has low precedence and requires parens

    Definition Classes
    Quantity

Inherited from Product

Inherited from Equals

Inherited from TimeIntegral[Yank]

Inherited from TimeDerivative[Momentum]

Inherited from Quantity[Force]

Inherited from Serializable

Inherited from Serializable

Inherited from Ordered[Force]

Inherited from Comparable[Force]

Inherited from AnyRef

Inherited from Any

Ungrouped