Matthew, A.J.2014-10-152014-10-1519851467-8659https://doi.org/10.1111/j.1467-8659.1985.tb00250.xA Fortran routine is presented for clipping a polyline to the inside or outside of a polygon, the boundary of the polygon being treated as part of the inside. There is no limitation on the number of sides of the polygon or vectors of the polyline, and no working storage is required. The polygon may have sides that intersect and vertices or sides that coincide with each other.Polygonal Clipping of Polylines10.1111/j.1467-8659.1985.tb00250.x407-414