|
-
Aug 13th, 2004, 10:24 AM
#1
Polygon clipping
If the API CombineRgn function is used to find the intersection of 2 polygons, is there a way to retrieve the coordinates of the newly created region?
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Aug 13th, 2004, 12:59 PM
#2
* bump *
I MUST know the coordinates of the resulting region in order to perform some calculations.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Aug 14th, 2004, 06:51 AM
#3
* yet another bump *
Let me put it another way.
I have:
poly1 with coordinates x1(i), y1(i) where i runs from 1 to N1
poly2 with coordinates x2(j), y2(j) where j runs from 1 to N2
I want find the coordinates x3(k), y3(k) where k runs from 1 to N3 of poly3, which is the intersection -the common region- of poly1 and poly2.
But I don't care that much about a function that plots it, I want a subroutine that returns the coordinates of poly3 given those of poly1 and poly2.
Does that exist at all in VB? Writing my own function is VERY difficult.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Aug 14th, 2004, 04:26 PM
#4
it may help to post a picture, or some code
I can't understand what you want.
-
Aug 14th, 2004, 04:58 PM
#5
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|