Class AngleDiameterPair

java.lang.Object
inra.ijpb.geometry.AngleDiameterPair

public class AngleDiameterPair
extends java.lang.Object
Data structure used to return result of Feret diameters computation. Can be used to return the result of minimum or maximum diameters computation.
Author:
dlegland
  • Field Summary

    Fields
    Modifier and Type Field Description
    double angle
    Angle in radians
    double diameter
    Diameter computed in the direction of the angle
  • Constructor Summary

    Constructors
    Constructor Description
    AngleDiameterPair​(double angle, double diameter)
    Default constructor, using angle in degrees and diameter.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • angle

      public double angle
      Angle in radians
    • diameter

      public double diameter
      Diameter computed in the direction of the angle
  • Constructor Details

    • AngleDiameterPair

      public AngleDiameterPair​(double angle, double diameter)
      Default constructor, using angle in degrees and diameter.
      Parameters:
      angle - the orientation angle, in degrees
      diameter - the diameter along the direction