MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWinGeoProc:ClipPolyWithLine

From MapWindow GIS

Jump to: navigation, search

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://www.mapwindow.org/wiki/index.php/MapWinGeoProc:ClipPolyWithLine"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: September 15 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links