comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Area intersection of two trapezoids with given coordinates
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Area intersection of two trapezoids with given coordinates [message #56857 is a reply to message #56787] Sun, 18 November 2007 19:22 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Can't this be solved analytically using trigonometry? If you want to
do it numerically you could just make two masks using WHERE() then do
AND to the get the intersection.

mrosim...@gmail.com wrote:
> Hello all,
>
> I was wondering if there is a function in IDL that I can find the
> intersection area of two trapezoids with given corner coordinates.
> Briefly I have two trapezoids where the first one has corners of
> (x1,y1), (x2,y2), (x3,y3), (x4,y4) and the second one has corners of
> (a1,b1), (a2,b2), (a3,b3), (a4,b4)...I know ARCGIS has such functions
> (like union/intersection).. If not could anyone have an idea how can I
> do it in IDL?
> Thanks all,
>
> Mario
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: machine learning
Next Topic: logarithmic axis lables

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 23:06:37 PDT 2025

Total time taken to generate the page: 1.52590 seconds