Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 512 Bytes

make_square.md

File metadata and controls

27 lines (15 loc) · 512 Bytes

Funzione make_square

Crea un quadrato da una diagonale.

Sintassi

make_square(point1,point2…)

Argomenti

point1 Primo punto del poligono regolare point2 Secondo punto

Esempi

  • geom_to_wkt(make_square( make_point(0,0), make_point(5,5))) → 'Polygon ((0 0, -0 5, 5 5, 5 0, 0 0))'
  • geom_to_wkt(make_square( make_point(5,0), make_point(5,5))) → 'Polygon ((5 0, 2.5 2.5, 5 5, 7.5 2.5, 5 0))'

nota bene

--

osservazioni

--