()
| 621 | |
| 622 | |
| 623 | @Override |
| 624 | public float getHeight() { |
| 625 | PVector min = new PVector(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, |
| 626 | Float.POSITIVE_INFINITY); |
| 627 | PVector max = new PVector(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, |
| 628 | Float.NEGATIVE_INFINITY); |
| 629 | if (shapeCreated) { |
| 630 | getVertexMin(min); |
| 631 | getVertexMax(max); |
| 632 | } |
| 633 | height = max.y - min.y; |
| 634 | return height; |
| 635 | } |
| 636 | |
| 637 | |
| 638 | @Override |
no test coverage detected