planePoint2.x * heightProfileGridWidth + heightProfileBoundingBox.upperLeftCorner().x,
planePoint2.y * heightProfileGridHeight + heightProfileBoundingBox.upperLeftCorner().y));
Vector2D p3 = this.getPointInVisualization(new Vector2D(
planePoint3.x * heightProfileGridWidth + heightProfileBoundingBox.upperLeftCorner().x,
planePoint3.y * heightProfileGridHeight + heightProfileBoundingBox.upperLeftCorner().y));
g.fillOval((int) p1.x - 2, (int) p1.y - 2, 4, 4);
g.fillOval((int) p2.x - 2, (int) p2.y - 2, 4, 4);
g.fillOval((int) p3.x - 2, (int) p3.y - 2, 4, 4);
g.drawLine((int) v.x, (int) v.y, (int) v.translate(d).x, (int) v.translate(d).y);
}