(int countCenterLabels)
| 339 | } |
| 340 | |
| 341 | private double minHeightPer(int countCenterLabels) { |
| 342 | if (this.centerLabels.isEmpty()) { |
| 343 | return 0.0; |
| 344 | } |
| 345 | return BASE_HEIGHT + (countCenterLabels - 1) * CENTER_LABEL_HEIGHT; |
| 346 | } |
| 347 | |
| 348 | public Point3D getCenterLabelEndPos(int centerLabelIndex) { |
| 349 | if(centerLabelIndex < 0 || centerLabelIndex >= this.centerLabels.size()) { |