Home
last modified time | relevance | path

Searched refs:GEOPOLY_PI (Results 1 – 1 of 1) sorted by relevance

/sqlite-3.40.0/ext/rtree/
H A Dgeopoly.c558 #define GEOPOLY_PI 3.1415926535897932385 macro
563 assert( r>=-0.5*GEOPOLY_PI && r<=2.0*GEOPOLY_PI ); in geopolySine()
564 if( r>=1.5*GEOPOLY_PI ){ in geopolySine()
565 r -= 2.0*GEOPOLY_PI; in geopolySine()
567 if( r>=0.5*GEOPOLY_PI ){ in geopolySine()
568 return -geopolySine(r-GEOPOLY_PI); in geopolySine()
608 double rAngle = 2.0*GEOPOLY_PI*i/n; in geopolyRegularFunc()
609 GeoX(p,i) = x - r*geopolySine(rAngle-0.5*GEOPOLY_PI); in geopolyRegularFunc()