Not Yet Answered # Intersection Algortihm

quintoncoert 131 Discussion Starter a.baki quintoncoert 131 quintoncoert 131 Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...

0

i think that i am talking nonsense so perhaps i should keep my mouth shut.

all i can see is if you can somehow convert the lines to linear equations and then set them equal to each other and compute the point where they meet.

but dont listen to me. it is just that that would have been the only solution that i would have been able to come up with.

0

It seems so hard to imlement. I heard about Bentley-Ottmann Algorithm. but even I can't implement it. Can any one help

0

i dont even know what a bentley ottmann algorithm is. sorry for wasting your time. perhaps you should post this in the computer science and software development forum.

0

i dont know how far you have gotten with this but i have been thinking about it since yesterday.

after having read the link posted by ancient dragon i think that i might have some way but it is crude and i cannot guarentee that i would actually succeed. also i would need a lot of time. but it is a really interesting project and i would like to work on it too. perhaps we can work on it seperately and continuously compare notes.

to begin with i want to ask you a few questions.

is the plane a flat surface? if it is a curved surface then i would be lost since my mathematics only extend to geometry on a two dimensional plane.

then there are the lines themselves

are the lines known at compile time or are they supplied at run time.

also are they straight lines or curves(quadratic equations) . (i.e. y = mx + c or y = ax2 + bx + c ).

also if these equations is of a order higher than quadratic then i would have some difficulty working with them. even if i could work with them i would have difficulty translating a line of this type into an algebraic equation of this type.

also does the lines have an interval. i mean do these lines have an end and a beginning?

This article has been dead for over six months. Start a new discussion instead.

Recommended Articles

When I execute this progammatically, I get a table with row heights much larger than when I do this manually.

Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table.

```
public void AddClipboard()
{
Sel.PasteExcelTable(false,false, false);
var t = Sel.Tables[Sel.Tables.Count];
t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent);
}
```

the function that I created to find the ...