Returns the perimeter of this ShapeRoi.
()
| 619 | |
| 620 | /** Returns the perimeter of this ShapeRoi. */ |
| 621 | public double getLength() { |
| 622 | if (width==0 && height==0) |
| 623 | return 0.0; |
| 624 | return parsePath(shape.getPathIterator(new AffineTransform()), GET_LENGTH, null); |
| 625 | } |
| 626 | |
| 627 | /** Returns a path iterator for this ROI's shape containing no curved (only straight) segments */ |
| 628 | PathIterator getFlatteningPathIterator(Shape s, double fl) { |
nothing calls this directly
no test coverage detected