Math help.
Math help.
- Subject: Math help.
- From: Brad Giesbrecht <email@hidden>
- Date: Thu, 15 Feb 2001 17:47:49 -0800
Hello list,
Can I get right at it?
Ok, I have grid coordinate's that make up a rectangle
and a center.
So here are my variables:
left_top {x, y}
right_top {x, y}
left_bottom {x, y}
right_bottom {x, y}
mid_var {x, y} -- the center of my rectangle
this_item {x, y} -- the current item being processed
So if you were to draw an x from the left_top coordinate
to the right_bottom coordinate, and from the right_top
coordinate to the left_bottom coordinate you would have
an x that intersected at my mid_var coordinate.
Now this x inside the rectangle creates three, no
let me count :-), four triangles.
I will name these triangles charles, rodney, no I better
name them top_area, right_area, bottom_area, and
left_area.
Now, what is the argument to determine if
this_item {x, y} coordinate's fall in top_area,
right_area, bottom_area, or left_area.
It's not in the Portuguese Dictionary I found
laying around so don't look there.
Cheers,
Bradley Giesbrecht