Class LengthUnit

java.lang.Object
boofcv.generate.LengthUnit

public class LengthUnit extends Object
Specifies how long and in what units something is.
  • Field Details

    • length

      public double length
    • unit

      public Unit unit
  • Constructor Details

    • LengthUnit

      public LengthUnit(String string)
    • LengthUnit

      public LengthUnit(String string, Unit defaultUnit)
  • Method Details

    • getUnit

      public Unit getUnit()
    • convert

      public double convert(Unit target)
    • toString

      public String toString()
      Overrides:
      toString in class Object