- java.lang.Object
-
- org.scijava.ops.image.geom.geom2d.DefaultMinorMajorAxis
-
- All Implemented Interfaces:
Function<Polygon2D,Pair<DoubleType,DoubleType>>
public class DefaultMinorMajorAxis extends Object implements Function<Polygon2D,Pair<DoubleType,DoubleType>>
Generic implementation ofgeom.secondMultiVariate.- Author:
- Daniel Seebacher (University of Konstanz)
- Implementation Note:
- op names='geom.secondMoment'
-
-
Constructor Summary
Constructors Constructor Description DefaultMinorMajorAxis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<DoubleType,DoubleType>apply(Polygon2D input)TODO
-
-
-
Method Detail
-
apply
public Pair<DoubleType,DoubleType> apply(Polygon2D input)
TODO- Specified by:
applyin interfaceFunction<Polygon2D,Pair<DoubleType,DoubleType>>- Parameters:
input- the inputPolygon2D- Returns:
- the major and minor axes, within a
Pair
-
-