MCPcopy Index your code
hub / github.com/benfry/processing4 / getHeight

Method getHeight

core/src/processing/opengl/PShapeOpenGL.java:628–640  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 8

shapeMethod · 0.45
initOffscreenMethod · 0.45
getDisplayBoundsMethod · 0.45
initWindowMethod · 0.45
placeWindowMethod · 0.45
placePresentMethod · 0.45
windowResizedMethod · 0.45
setCursorMethod · 0.45

Calls 2

getVertexMinMethod · 0.95
getVertexMaxMethod · 0.95

Tested by

no test coverage detected