English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have written you before. I have made an image showing my problem to
make things easier to explain. Here you can view it:

http://img152.imageshack.us/img152/8866/new1ja8.png

As you can see, I need to eliminate these diagonal edges, and I have
made a few attempts that worked to a degree.

I tried iterating on each triangle and getting the edge that is faced
by the largest angle. But this doesn't always work as shown in the
image. So I have tried getting the faces of an edge, then from there I
collected all edges of them, and get the largest one (mostly the
diagonal). This doesn't always work too.

Is there a way to separate these edges from the others clearly?

Thank you!

2006-12-23 06:47:13 · 4 answers · asked by Léon 1 in Science & Mathematics Mathematics

4 answers

If the picture is accurate, and all sets of lines are parallel, then a = b. So instead of making the criteria "a > c and b > c" you could just use "a = b"....?

2006-12-23 08:31:03 · answer #1 · answered by Jim Burnell 6 · 0 0

Jim: I don't think that he meant to imply that the lines are are parallel and equidistant.

If you calculate the distance from a point to its surrounding points then those distances fall into two catagories with the diagonal distance being significantly larger than the others. This works for boundary as well as interior point.

I assume that your figure is represented by a collection of (x,y) coordinates?

An angle approach might work. Take dot products of all vectors representing line segments and calculate the angle. It will be 0 or 90 for most and around 45 for the diagonals.

2006-12-23 17:04:08 · answer #2 · answered by modulo_function 7 · 0 0

So a+b+c=180 and c-a>0 and c-b>0; now add LHSides and RHSides, thence 3c>180 and c>60;
Exclude 2 longest criss-cross diags as their halves are clearly opposite to c<60; but rhombus is OK!

oh sorry, rhombus is also bad!

2006-12-23 18:20:44 · answer #3 · answered by Anonymous · 0 0

From your diagram it appears to me that the slopes of all diagonals tha have a positive slope have a slope = +1. All diagonals that have a negative slope have a slope of -1.

Perhaps I'm not understanding the problem, but I would just eliminate all diagonals that have a slope = +/- 1.

2006-12-23 22:45:29 · answer #4 · answered by ironduke8159 7 · 0 0

fedest.com, questions and answers