## ClipLineSFWithPoly

**Summary**

ClipLines defines internal functions for clipping lines with
polygons.

**Functions**

ClipLineSFWithMultiPartPolygon |
Clips all lines in the shapefile using a multi-part
polygon. |

ClipLineSFWithMultiPartPolygon |
Clips all lines in the shapefile using a multi-part
polygon. |

Fast_ClipLineSFWithPolygon |
Finds all portions of the lines that lie within the polygon and
returns them in the shapefile resultSF. |

Fast_ClipLineSFWithPolygon |
All portions of lineSF within the polygon are found and saved
in memory to resultLineSF. |

Fast_ProcessPartInAndOutPoints |
Divides a line containing both inside and outside polygon
points into multiple 2pt segments. Calculates intersecetions and finds the portions of the line that are within the polygon. |

Accurate_ClipLineSFWithPolygon |
Given a line shapefile and a polygon, this function will return
only the portions of the lines that lie within the polygon. |

Accurate_ClipLineSFWithPolygon |
Given a line shapefile and a polygon, this function will find
the portions of each line that lies within the polygon and save it in memory to resultLineSF. |

ProcessAllInsidePoints |
For lines where every point lies within the polygon, this
function will find if a 2pt segment crosses outside of the polygon and then adds only the internal segments to the result file. |

ProcessAllOutsidePoints |
For lines where every point lies outside the polygon, this
function will find if any 2pt segment crosses within the polygon and then adds the internal segments to the result file. |

ProcessPartInAndOutPoints |
For lines where part of the line lies within the polygon and part of it lies outside, this function will save only the inside portions and intersection points to the result shapefile. |