PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ geom_from_pa()

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

Definition at line 853 of file lwstroke.c.

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

Referenced by pta_unstroke().

854 {
855  LWDEBUGF(4, "srid=%d, is_arc=%d, start=%d, end=%d", srid, is_arc, start, end);
856  if ( is_arc )
857  return circstring_from_pa(pa, srid, start, end);
858  else
859  return linestring_from_pa(pa, srid, start, end);
860 }
static LWGEOM * circstring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:837
static LWGEOM * linestring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:822
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88
Here is the call graph for this function:
Here is the caller graph for this function: