Class AbstractLineWrapper<P>
- java.lang.Object
-
- science.aist.imaging.api.domain.wrapper.AbstractLineWrapper<P>
-
- All Implemented Interfaces:
LineWrapper<P>
- Direct Known Subclasses:
OpenCVLineWrapper
public abstract class AbstractLineWrapper<P> extends Object implements LineWrapper<P>
Generic interface which implements getter and setter for a line wrapper
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description AbstractLineWrapper(Point2Wrapper<P> startPoint, Point2Wrapper<P> endPoint)
Constructor to set a start and a end point
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point2Wrapper<P>
getEndPoint()
Point2Wrapper<P>
getStartPoint()
void
setEndPoint(Point2Wrapper<P> endPoint)
void
setStartPoint(Point2Wrapper<P> startPoint)
-
-
-
Constructor Detail
-
AbstractLineWrapper
public AbstractLineWrapper(Point2Wrapper<P> startPoint, Point2Wrapper<P> endPoint)
Constructor to set a start and a end point- Parameters:
startPoint
- startPointendPoint
- endPoint
-
-
Method Detail
-
getStartPoint
public Point2Wrapper<P> getStartPoint()
- Specified by:
getStartPoint
in interfaceLineWrapper<P>
- Returns:
- startPoint
-
setStartPoint
public void setStartPoint(Point2Wrapper<P> startPoint)
- Specified by:
setStartPoint
in interfaceLineWrapper<P>
- Parameters:
startPoint
- startPoint
-
getEndPoint
public Point2Wrapper<P> getEndPoint()
- Specified by:
getEndPoint
in interfaceLineWrapper<P>
- Returns:
- endPoint
-
setEndPoint
public void setEndPoint(Point2Wrapper<P> endPoint)
- Specified by:
setEndPoint
in interfaceLineWrapper<P>
- Parameters:
endPoint
- endPoint
-
-