public class CellCntrMarkerShapeLine extends CellCntrMarkerShape
Modifier and Type | Field and Description |
---|---|
protected Point2D.Double |
ep
End point of segment.
|
protected Point2D.Double |
sp
Start point of segment.
|
avgIntensity, mBorder
Modifier | Constructor and Description |
---|---|
private |
CellCntrMarkerShapeLine()
Default constructor, it's protected to avoid constructing objects
without curve data.
|
|
CellCntrMarkerShapeLine(Point2D.Double s,
Point2D.Double t)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getArea()
Get area of the shape.
|
Point2D.Double |
getEndPoint()
Get the end point of the line segment.
|
Point2D.Double |
getStartPoint()
Get the start point of the line segment.
|
getAvgIntensity, getOutline, setAvgIntensity
protected Point2D.Double sp
protected Point2D.Double ep
private CellCntrMarkerShapeLine()
public CellCntrMarkerShapeLine(Point2D.Double s, Point2D.Double t)
s
- Start point of segment.t
- End point of segment.public double getArea()
CellCntrMarkerShape
getArea
in class CellCntrMarkerShape
public Point2D.Double getStartPoint()
public Point2D.Double getEndPoint()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.