#math - Sun 6 May 2007 between 19:17 and 19:23

NY Lost Funds



HiLanderactually, no
my suggestion doesn't work
go with Dr_Ford's
thermoplyae#math has spoken
actionJan` kowtows
Jan`kowtows
actionjamisnemo tries that order..
jamisnemotries that order..
HiLander(i forgot that axis-aligned makes it the product of intervals, and the intersection is the product of the intersections)
thermoplyae(actually, y' = x^7 y^2 - y/x)
hagabaka"determine the segment of the y-axis where both rectangles exist, and determine the ranges upon the x-axis for this. if both ranges intersect at all, the rectangles intersect."
jamisnemoyea that y gets stuck otherwise
as y/x
er..
yea alright
i see :p thank you!
hagabakado you mean the the x-projections of both rectangles overlap, and y-projections also overlap?
thermoplyaeI'm not sure I see, I was just pointing out an algebra mistake
hagabakai don't think that's necessary for the rectangles to intersect
thermoplyaeIf you get it, then great
Jan`I think I sort of do
actionJan` does some thinking
Jan`does some thinking
thermoplyaehagabaka: It's necessary, and sufficient if the rectangles are axis-aligned
SolakHello.
Dr_Fordit is. their x-position-segment may be the same exact thing, and one may be above the other, completely without collision. that's because their y-position-range doesn't intersect
hagabakaoh, i meant not sufficient
so they are axis-aligned?
thermoplyaeyes
hagabakahmm
HiLanderif they're not axis-aligned, it's insufficient
Jan`they're axis aligned.
jamisnemoit's not separable but it's doable :p
Jan`If they weren't, life would get very difficult.
jamisnemoy'=f(x,y)
Dr_Fordyah, for axis aligned rectangle collision detection, I'm sure there's trig involved
jamisnemoI'm just losing my mind
Jan`you mean for axis non-aligned
thermoplyaeIs it sufficient if only one is axis-aligned?
TRWBWwell you can always do it as polygons, based on edge intersections
jamisnemoy=(x^8y^2)/8 - ln(x)*y
ugh
thermoplyaeI think so. If so, then you can construct a rotation matrix to rotate one into axis alignment and then apply the easy method above

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 

IrcArchive

NY Lost Funds