PostGIS  2.5.1dev-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 866 of file lwstroke.c.

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

Referenced by pta_unstroke().

867 {
868  LWDEBUGF(4, "srid=%d, is_arc=%d, start=%d, end=%d", srid, is_arc, start, end);
869  if ( is_arc )
870  return circstring_from_pa(pa, srid, start, end);
871  else
872  return linestring_from_pa(pa, srid, start, end);
873 }
static LWGEOM * circstring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:850
static LWGEOM * linestring_from_pa(const POINTARRAY *pa, int srid, int start, int end)
Definition: lwstroke.c:835
#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: