Class AbstractConvexHull

java.lang.Object
sc.fiji.snt.analysis.AbstractConvexHull
Direct Known Subclasses:
ConvexHull2D, ConvexHull3D

public abstract class AbstractConvexHull extends Object
Parent class for convex hull analysis
Author:
Cameron Arshadi
  • Field Details

    • opService

      protected net.imagej.ops.OpService opService
    • points

      protected final Collection<? extends SNTPoint> points
    • size

      protected double size
    • boundarySize

      protected double boundarySize
  • Constructor Details

    • AbstractConvexHull

      protected AbstractConvexHull(org.scijava.Context context, Collection<T> points)
    • AbstractConvexHull

      protected AbstractConvexHull(Collection<T> points)
  • Method Details

    • compute

      public abstract void compute()
      Computes the convex hull from the input points.
    • size

      public abstract double size()
      Returns the area (2D) or volume (3D) of this convex hull.
    • boundarySize

      public abstract double boundarySize()
      Returns the perimeter (2D) or surface area (3D) of this convex hull.
    • intersection

      public abstract AbstractConvexHull intersection(AbstractConvexHull... convexHull)
      Returns the intersection of this convex hull with the given hull(s).
    • intersectionBox

      public BoundingBox intersectionBox(AbstractConvexHull... convexHulls)
      Returns the bounding-box intersection of this hull with the given hull(s).