PostGIS  2.4.9dev-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 873 of file lwstroke.c.

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

Referenced by pta_unstroke().

874 {
875  LWDEBUGF(4, "srid=%d, is_arc=%d, start=%d, end=%d", srid, is_arc, start, end);
876  if ( is_arc )
877  return circstring_from_pa(pa, srid, start, end);
878  else
879  return linestring_from_pa(pa, srid, start, end);
880 }
static LWGEOM * circstring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:857
static LWGEOM * linestring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:842
#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: