PostGIS  2.1.10dev-r@@SVN_REVISION@@
int lw_dist2d_poly_curvepoly ( LWPOLY poly1,
LWCURVEPOLY curvepoly2,

Definition at line 878 of file measures.c.

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

Referenced by lw_dist2d_distribute_bruteforce().

879 {
880  LWCURVEPOLY *curvepoly1 = lwcurvepoly_construct_from_lwpoly(poly1);
881  int rv = lw_dist2d_curvepoly_curvepoly(curvepoly1, curvepoly2, dl);
882  lwgeom_free((LWGEOM*)curvepoly1);
883  return rv;
884 }
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1006
int lw_dist2d_curvepoly_curvepoly(LWCURVEPOLY *poly1, LWCURVEPOLY *poly2, DISTPTS *dl)
Definition: measures.c:930
LWCURVEPOLY * lwcurvepoly_construct_from_lwpoly(LWPOLY *lwpoly)
Construct an equivalent curve polygon from a polygon.
Definition: lwcurvepoly.c:40

Here is the call graph for this function:

Here is the caller graph for this function: