public class FeretDiameters extends Object
| Constructor and Description |
|---|
FeretDiameters() |
| Modifier and Type | Method and Description |
|---|---|
static PointPair2D |
maxFeretDiameter(ArrayList<? extends Point2D> points)
Computes Maximum Feret diameter of a set of points.
|
static AngleDiameterPair |
minFeretDiameter(ArrayList<? extends Point2D> points)
Computes Minimum Feret diameter of a set of points and returns both the
diameter and the corresponding angle.
|
public static final PointPair2D maxFeretDiameter(ArrayList<? extends Point2D> points)
points - a collection of planar pointspublic static final AngleDiameterPair minFeretDiameter(ArrayList<? extends Point2D> points)
points - a collection of planar pointsCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.