Find percentage of rectangle covered by polygon
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Find percentage of rectangle covered by polygon

  1. #1
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,012

    Find percentage of rectangle covered by polygon

    Hi,

    I need to find an algorithm to figure out what percentage of a (fixed size) rectangle is covered by each polygon in a set of polygons. The polygons do not overlap.

    I'm really lost with this one. Can anyone provide me with some references or possibly even an algorithm?

    Thanks!

    Cheers,

    D Drmmr
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

  2. #2
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,012

    Re: Find percentage of rectangle covered by polygon

    Turned out I was using the wrong search terms. Here are some references to libraries.

    It looks like I won't need to do this afterall, though.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center