PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lw_dist2d_circstring_poly()

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

Definition at line 1046 of file measures.c.

1047 {
1049  int rv = lw_dist2d_line_curvepoly((LWLINE *)circ, curvepoly, dl);
1050  lwgeom_free((LWGEOM *)curvepoly);
1051  return rv;
1052 }
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1138
LWCURVEPOLY * lwcurvepoly_construct_from_lwpoly(LWPOLY *lwpoly)
Construct an equivalent curve polygon from a polygon.
Definition: lwcurvepoly.c:52
int lw_dist2d_line_curvepoly(LWLINE *line, LWCURVEPOLY *poly, DISTPTS *dl)
Definition: measures.c:774

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

Referenced by lw_dist2d_distribute_bruteforce().

Here is the call graph for this function:
Here is the caller graph for this function: