equation of cone intersection

Discussion in 'C Programming' started by S. Nurbe, Dec 3, 2004.

  1. S. Nurbe

    S. Nurbe Guest

    Hi,

    How can I program this math. equation:
    a1*n1 + a2*n2 + a3*n3 = cos(alpha1)
    b1*n1 + b2*n2 + b3*n3 = cos(alpha2)
    n1^2 + n2^2 + n3^2 = 1

    The problem is, that when you solve for n1, n2 and n3 (anything else
    is known) you get really huge results.
    So is there maybe another way to compute this?
    BTW:
    These equations describe 0, 1, or 2 lines when two cones with the same
    origin (cone ends) intersects. (Maybe anyone knows another way)

    Thanks in advance,

    S. Nurbe
    S. Nurbe, Dec 3, 2004
    #1
    1. Advertising

  2. On Fri, 03 Dec 2004 16:22:47 -0500, S. Nurbe wrote:

    > Hi,
    >
    > How can I program this math. equation:


    This sounds like a great question for comp.graphics.algorithms.

    Mike
    Michael B Allen, Dec 3, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shukla, Sunil Kumar

    parallel CRC equation generator

    Shukla, Sunil Kumar, May 31, 2005, in forum: VHDL
    Replies:
    2
    Views:
    1,143
    Pete Fraser
    May 31, 2005
  2. Weng Tianxiang
    Replies:
    12
    Views:
    1,361
  3. Marty Underwood

    String to equation

    Marty Underwood, Feb 18, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    430
    Marty Underwood
    Feb 18, 2004
  4. David Zimmerman
    Replies:
    0
    Views:
    915
    David Zimmerman
    Jun 27, 2003
  5. S. Nurbe

    equation of cone intersection

    S. Nurbe, Dec 3, 2004, in forum: C++
    Replies:
    2
    Views:
    5,988
    Victor Bazarov
    Dec 3, 2004
Loading...

Share This Page