DRosemei / RoMe

MIT License
223 stars 27 forks source link

about create hive flat mesh #14

Closed yongguanjiangshan closed 1 year ago

yongguanjiangshan commented 1 year ago

hi, in the function createHiveFlatMesh() in utils/geometry.py. the y_resolution = x_resolution * 2 / 1.7320508075688772. could you tell me the meaning of this equation?

DRosemei commented 1 year ago

@yongguanjiangshan It just constructs an equilateral triangle instead of a right triangle. 1.732≈sqrt(3)