Package science.aist.imaging.api.util
Class PointMinMaxFunction<T extends AbstractJavaPoint<T>>
- java.lang.Object
-
- science.aist.imaging.api.util.PointMinMaxFunction<T>
-
- All Implemented Interfaces:
Function<Collection<T>,science.aist.jack.data.Pair<JavaPoint3D,JavaPoint3D>>
public class PointMinMaxFunction<T extends AbstractJavaPoint<T>> extends Object implements Function<Collection<T>,science.aist.jack.data.Pair<JavaPoint3D,JavaPoint3D>>
Function which calculates the min and the max coordinates
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Constructor Summary
Constructors Constructor Description PointMinMaxFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description science.aist.jack.data.Pair<JavaPoint3D,JavaPoint3D>
apply(Collection<T> points)
-
-
-
Method Detail
-
apply
public science.aist.jack.data.Pair<JavaPoint3D,JavaPoint3D> apply(Collection<T> points)
- Specified by:
apply
in interfaceFunction<Collection<T extends AbstractJavaPoint<T>>,science.aist.jack.data.Pair<JavaPoint3D,JavaPoint3D>>
- Parameters:
points
- input- Returns:
- Pair of MIN and MAX where MIN contains the minimum coordinates and MAX contains the maximum Coordinates
-
-