每侧为60度。顶部和底部是水平的我认为width = (cos(60) * sideLength * 2) + sideLength = sideLength * 2这似乎有点不对劲 最佳答案 宽度应为2*sideLength(sideLength = cos(60) * sideLength * 2)高度将为sin(60) * sideLength * 2 = sqrt(3)*sideLength