PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ lw_dist2d_circstring_poly()

int lw_dist2d_circstring_poly ( LWCIRCSTRING circ,
LWPOLY poly,
DISTPTS dl 
)

Definition at line 931 of file measures.c.

References lw_dist2d_line_curvepoly(), lwcurvepoly_construct_from_lwpoly(), and lwgeom_free().

Referenced by lw_dist2d_distribute_bruteforce().

932 {
934  int rv = lw_dist2d_line_curvepoly((LWLINE*)circ, curvepoly, dl);
935  lwgeom_free((LWGEOM*)curvepoly);
936  return rv;
937 }
int lw_dist2d_line_curvepoly(LWLINE *line, LWCURVEPOLY *poly, DISTPTS *dl)
Definition: measures.c:800
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1144
LWCURVEPOLY * lwcurvepoly_construct_from_lwpoly(LWPOLY *lwpoly)
Construct an equivalent curve polygon from a polygon.
Definition: lwcurvepoly.c:53
Here is the call graph for this function:
Here is the caller graph for this function: