In the West, it is widely recognized that geometry originated in ancient Greece. Euclid's Elements, the first axiomatic geometry system established by Greek mathematicians, has been revered by European mathematicians for over 2,000 years. It wasn't until the 19th century that non-Euclidean geometry, independent of Euclidean geometry, emerged. Today, middle school students still study Euclidean geometry in classrooms. However, Greek mathematical pioneers such as Thales and Pythagoras had to travel to Egypt for years to master geometric knowledge. Ancient Egyptian geometric knowledge was closely related to the Nile River's floods and land surveying. In fact, the English word "geometry" originates from Greek, originally meaning "land surveying".
Most of ancient Egypt's land was distributed along the banks of the Nile River. Between June and October each year, the Nile River would flood, submerging large areas of land. After the flood receded, fertile silt would be left behind, allowing people to plant crops. However, the floods would wash away many landmarks and disrupt the original land layout. Therefore, the pharaohs sent "line drawers" to restore everything to its original state. The main tool used by these "line drawers" was a 100-cubit-long rope (a unit of length in Egypt, equivalent to about 0.524 meters). By using this rope and surviving landmarks, they restored the original land layout, accumulating a wealth of geometric knowledge centered on straight lines. This characteristic of geometric knowledge is clearly reflected in Euclid's Elements: all five axioms in the book relate to straight lines, and the proofs of geometric propositions often involve adding auxiliary lines.
In China, there was a prolonged flood disaster around 2200 BC, which led to records of "Yu the Great's flood control". According to the Shiji (Records of the Grand Historian), Yu "used a plumb line to level the land, a ruler to mark boundaries, and a compass to demarcate nine provinces, nine waterways, and nine lakes", successfully completing the flood control over the course of thirteen years. Among these tools, "plumb line", "ruler", "compass", and "square" were all used for geometric measurement: "plumb line" measured horizontal distances, "ruler" measured straight lines, "compass" drew circles, and the "square" (shaped like a right-angled ruler) was most useful for measuring depth, height, and distance, based on the Pythagorean theorem. The ancient Chinese mathematical work Zhou Pi Suan Jing (The Nine Chapters on the Mathematical Art) stated: "Use a square to level the land, a plumb line to measure height, an inverted square to measure depth, and a horizontal square to measure distance." From this, we can see that ancient Chinese geometry also originated from measurement, with the Pythagorean theorem serving as the core theory of its development.

