## ClipPolyWithLine

**Summary**

Functions for clipping a polygon with a line.

**Functions**

Fast_ClipPolygonWithLine |
This function has 2 overloads. |

Fast_ProcessPartInAndOut |
Given a line that contains portion both inside and outside of
the polygon, this function will split the polygon based only on the segments that completely bisect the polygon. It assumes: out->out, and in->in 2pt segments do not intersect the polygon, and out->in, in->out 2pt segments have only one point of intersection. |

ProcessPartInAndOut |
Given a line that contains portions both inside and outside of
the polygon, this function will split the polygon based only on the segments that completely bisect the polygon. The possibility of mutliple intersections for any 2pt segment is taken into account. |

ProcessAllOutside |
For lines where every point lies outside the polygon, this
function will find if any 2pt segment crosses through the polygon. If so, it will split the polygon into mutliple parts using the intersecting line segments. |

ProcessAllInside |
For lines where every point lies within the polygon, this
function will find if any 2pt segment crosses through the polygon. If so, it will split the polygon into mutliple parts using the intersecting line segments. |

SectionPolygonWithLine |
Sections a polygon into multiple parts depending on where line
crosses it and if previous sectioning has occured. |

SplitPolyInTwo |
Splits original polygon into two portions depending on where
line crosses it. |