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