Class FitPolygon2D_I32

java.lang.Object
georegression.fitting.polygon.FitPolygon2D_I32

public class FitPolygon2D_I32 extends Object
Functions related to fitting polygons to different inputs
  • Constructor Details

    • FitPolygon2D_I32

      public FitPolygon2D_I32()
  • Method Details

    • rectangleAabb

      public static Rectangle2D_I32 rectangleAabb(List<Point2D_I32> points, @Nullable @Nullable Rectangle2D_I32 rectangle)
      Finds the smallest Axis Aligned Bounding Box (AABB) for the set of set of points. The lower extent is inclusive and the upper extent is exclusive. x0 ≤ p.x < x1.
      Parameters:
      points - (Input) set of points
      rectangle - (Output) Storage for the AABB. Nullable
      Returns:
      The rectangular AABB