PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lw_dist2d_circstring_poly()

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

Definition at line 927 of file measures.c.

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

Referenced by lw_dist2d_distribute_bruteforce().

928 {
930  int rv = lw_dist2d_line_curvepoly((LWLINE*)circ, curvepoly, dl);
931  lwgeom_free((LWGEOM*)curvepoly);
932  return rv;
933 }
int lw_dist2d_line_curvepoly(LWLINE *line, LWCURVEPOLY *poly, DISTPTS *dl)
Definition: measures.c:796
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1099
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: