[−][src]Function spatialite_sys::gaiaAllocPolygonXYM
pub unsafe extern "C" fn gaiaAllocPolygonXYM(
vert: c_int,
holes: c_int
) -> gaiaPolygonPtr
Allocates a 2D POLYGON [XYM]
\param vert number of points [aka vertices] into the Exterior Ring. \param holes number of Interior Rings [0, if no Interior Ring is required].
\return the pointer to newly created POLYGON object: NULL on failure
\sa gaiaFreePolygon
\note you are responsible to destroy (before or after) any allocated POLYGON, unless you've passed ownership of the POLYGON object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.