Click here to Skip to main content
15,898,978 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp987618-Oct-08 17:32
cp987618-Oct-08 17:32 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp987618-Oct-08 23:38
cp987618-Oct-08 23:38 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
Arash Partow19-Oct-08 6:32
Arash Partow19-Oct-08 6:32 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp987619-Oct-08 11:42
cp987619-Oct-08 11:42 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
CPallini19-Oct-08 11:52
mveCPallini19-Oct-08 11:52 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
Arash Partow19-Oct-08 11:56
Arash Partow19-Oct-08 11:56 
AnswerRe: How to find 3rd coordinate of a triangle given 2 others Pin
darrellp28-Nov-08 20:03
darrellp28-Nov-08 20:03 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp987629-Nov-08 14:03
cp987629-Nov-08 14:03 
darrellp wrote:
didn't see anybody mention the obvious: C is on the circle whose diameter is AB. So it amounts to finding the intersection of two circles - one centered at the midpoint of AB with a radius of AB/2, the other with a center at A with a radius of AC


This was cross posted, and there was a link on the other page that explained it, and Member 4194593 also explained this.


darrellp wrote:
Pretty simple algebra.


Try it - you end up with a quartic for the general case.

If, however, you rotate the triangle so that AB lies on the x-axis, and move A to the origin, the algebra becomes much simpler, you end up with a quadratic that is easily solved. All you have to do then is rotate the result and move it back into position and you have the general solution as I explained. There may be other ways to solve it, but this is the simplest I have found. My solution is correct, as are others (except for those claiming 4 solutions), for some reason the univoters didn't like it.

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
darrellp29-Nov-08 14:48
darrellp29-Nov-08 14:48 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp987629-Nov-08 15:20
cp987629-Nov-08 15:20 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
darrellp29-Nov-08 19:58
darrellp29-Nov-08 19:58 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp987629-Nov-08 23:06
cp987629-Nov-08 23:06 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
darrellp30-Nov-08 7:17
darrellp30-Nov-08 7:17 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp98761-Dec-08 15:11
cp98761-Dec-08 15:11 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
darrellp1-Dec-08 17:19
darrellp1-Dec-08 17:19 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
darrellp1-Dec-08 19:27
darrellp1-Dec-08 19:27 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp98762-Dec-08 19:54
cp98762-Dec-08 19:54 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
Member 41945933-Dec-08 3:27
Member 41945933-Dec-08 3:27 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp98763-Dec-08 10:19
cp98763-Dec-08 10:19 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
Member 41945933-Dec-08 10:58
Member 41945933-Dec-08 10:58 
GeneralRe: How to find 3rd coordinate of a triangle given 2 others Pin
cp98763-Dec-08 13:04
cp98763-Dec-08 13:04 
QuestionSegment Polygon Intersection Pin
hockymot2008_200916-Oct-08 0:28
hockymot2008_200916-Oct-08 0:28 
AnswerRe: Segment Polygon Intersection [modified] Pin
Alan Balkany16-Oct-08 3:29
Alan Balkany16-Oct-08 3:29 
AnswerRe: Segment Polygon Intersection Pin
Alan Balkany16-Oct-08 3:35
Alan Balkany16-Oct-08 3:35 
GeneralRe: Segment Polygon Intersection Pin
hockymot2008_200916-Oct-08 17:21
hockymot2008_200916-Oct-08 17:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.