MapWinGeoProc:ClipPolyWithLine

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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.

Back to MapWinGeoProc

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:ClipPolyWithLine"

This page has been accessed 2,435 times. This page was last modified on 26 June 2006, at 19:05.