+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: [Extreme Math] Calculating a point equidistant from 3 others

  1. #1
    Wirererer xixo12e's Avatar
    Join Date
    Feb 2009
    Location
    An arbitrary point in space
    Posts
    213

    Default [Extreme Math] Calculating a point equidistant from 3 others

    It must be possible with E2, but how would I calculate an XYZ point equidistant from 3 or more XYZ points?

  2. #2
    Master of Mars Magos Mechanicus's Avatar
    Join Date
    May 2008
    Posts
    852

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    Wikipedia's article on [ame=http://en.wikipedia.org/wiki/Trilateration]trilateration[/ame] may be applicable (for equidistance use r1=r2=r3), but it does look fairly complex to do.
    I can wire anything directly into anything! I'm the Professor!
    -Professor Hubert Farnsworth

  3. #3
    Wire Sofaking Jimlad's Avatar
    Join Date
    Dec 2008
    Posts
    941

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    It'd help a lot if you said what you're trying to accomplish. It's possible there are more efficient ways to do what you want.

  4. #4
    Wire Sofaking Echo51's Avatar
    Join Date
    Feb 2009
    Location
    Denmark
    Posts
    1,489

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    So you have a triangle and you want to find the center of the triangle?

    I could come up with a way to do it, but im too lazeh :P
    Proud of my non-existant life...
    In russia, Expression 2 codes you!
    Quote Originally Posted by Snowden42 View Post
    Nooblishious? That's a signature keeper.

  5. #5
    Banned Nicolai1's Avatar
    Join Date
    Nov 2008
    Location
    Denmark.
    Posts
    1,251

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    If it's what Echo51 said then it's quite easy, just find the average point of 3 vectors.
    AvgVec = (Vec1+Vec2+Vec3)/3

  6. #6
    Wire Sofaking Jimlad's Avatar
    Join Date
    Dec 2008
    Posts
    941

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    Quote Originally Posted by Nicolai1 View Post
    If it's what Echo51 said then it's quite easy, just find the average point of 3 vectors.
    AvgVec = (Vec1+Vec2+Vec3)/3
    Yeah, but like I said it totally depends on what he wants it for. If he really wants a point equidistant from three other points, then this method only works if the triangle is equilateral. The other part that confuses me about the question is the "..or more". If you start using four or more points, it's possible that there'll be no point equidistant from all of them.

    EDIT: what is it with the questions lately? Nobody wants to give the important details when they ask things, it's like they're trying to keep things secret. Guys, if you give a vague question you'll get a vague answer.
    Last edited by Jimlad; 05-10-2009 at 07:55 AM.

  7. #7
    Wirererer xixo12e's Avatar
    Join Date
    Feb 2009
    Location
    An arbitrary point in space
    Posts
    213

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    Essentially I have 3 or more points in XYZ form. They could be noncoplanar, and are not all the same point.

    What I'm trying to do is calculate the center of a group of objects in GMod.

  8. #8
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    You can probably just use the average of them, if it isnt very important that it is the same distamce from everyone.

  9. #9
    Spucatum Tauri Bull's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    6,010

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    Hmm, go for nicolai1's suggestion.

    And stop using words that I need to google :P
    My signature has a point.
    Quote Originally Posted by Squeakyneb View Post
    when l3ulletje says do it, do it.
    That

    Quote Originally Posted by Anticept View Post
    By the way, Bull is in charge.

  10. #10
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: [Extreme Math] Calculating a point equidistant from 3 others

    Quote Originally Posted by l3ulletje
    And stop using words that I need to google :P
    I second that

+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Help on calculating 3d distances
    By lucasmontec in forum Installation and Malfunctions Support
    Replies: 12
    Last Post: 03-09-2009, 12:48 PM
  2. Peggle Extreme: Epic Win
    By IEF015 in forum Off-Topic
    Replies: 5
    Last Post: 06-22-2008, 04:09 PM
  3. Making a exprssion math into cpu math
    By Ronin in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 5
    Last Post: 06-03-2008, 07:09 PM
  4. Calculating bearing?
    By thesage1014 in forum Installation and Malfunctions Support
    Replies: 7
    Last Post: 08-19-2007, 11:32 PM
  5. Extreme low poly nano gate
    By cheeze in forum Developer's Showcase
    Replies: 11
    Last Post: 06-26-2007, 08:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots