MCPcopy Create free account
hub / github.com/Nurtak/ObjectGraphVisualization / minHeightPer

Method minHeightPer

src/ch/hsr/ogv/view/PaneBox.java:341–346  ·  view source on GitHub ↗
(int countCenterLabels)

Source from the content-addressed store, hash-verified

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()) {

Callers 1

calcMinHeightMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected