FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour determine geometric figure
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
determine geometric figure
Posted: Wed Sep 25, 2024 07:51 AM
having a series of numbers how do you determine which geometric figure (triangle, rectangle, square, pentagon, hexagon) can be drawn?

First example
if I have these numbers 4, 34, 64 I can make a triangle

Second example
if I have these numbers 15, 30, 45, 60, 75, 90 I can make a hexagon


third example
how to determine a geometric figure by searching for it in a number archive in an xbrowse?



the drawing was created with another program, a pentagon and the numbers were searched according to the "cadence" function number 4
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion