Package inra.ijpb.geometry
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
-
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 angleAngle in radians -
diameter
public double diameterDiameter 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 degreesdiameter
- the diameter along the direction
-