PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ geom_from_pa()

static LWGEOM* geom_from_pa ( const POINTARRAY pa,
int32_t  srid,
int  is_arc,
int  start,
int  end 
)
static

Definition at line 965 of file lwstroke.c.

966 {
967  LWDEBUGF(4, "srid=%d, is_arc=%d, start=%d, end=%d", srid, is_arc, start, end);
968  if ( is_arc )
969  return circstring_from_pa(pa, srid, start, end);
970  else
971  return linestring_from_pa(pa, srid, start, end);
972 }
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88
static LWGEOM * linestring_from_pa(const POINTARRAY *pa, int32_t srid, int start, int end)
Definition: lwstroke.c:934
static LWGEOM * circstring_from_pa(const POINTARRAY *pa, int32_t srid, int start, int end)
Definition: lwstroke.c:949

References circstring_from_pa(), linestring_from_pa(), and LWDEBUGF.

Referenced by pta_unstroke().

Here is the call graph for this function:
Here is the caller graph for this function: