comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Points in a rectangle with an angle

Points in a rectangle with an angle
type: item
description: Hello, I have a problem in IDL that I was wondering if anyone has any idea how it can be done. I have a set of coordinates and I am trying to figure out how many of the coordinates are inside a rectangle. I know the coordinates of the 4 edges of the rectangle but the problem is that the rectangle is at an angle in the x,y axis ( I know the slope). I can not just say coords=where((x LE xmax) AND (x GT xmin) AND (y LE ymin) AND (y GT ymax)) because that will give me coordinates of a rectangle without an angle (parallel to the y axis). Is there any function in IDL that might be doing that? Thank you, JJM.
creator: JJMeyers2
date: 2006-04-05T16:32:46-00:00