PostGIS  2.5.7dev-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 874 of file lwstroke.c.

875 {
876  LWDEBUGF(4, "srid=%d, is_arc=%d, start=%d, end=%d", srid, is_arc, start, end);
877  if ( is_arc )
878  return circstring_from_pa(pa, srid, start, end);
879  else
880  return linestring_from_pa(pa, srid, start, end);
881 }
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88
static LWGEOM * linestring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:843
static LWGEOM * circstring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:858

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: