Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Transformation Matrix from x-axis

  1. May 16, 2012 #1
    I have a Parametric Equation for a Cone:

    x=u
    y=cos(v)*a*(u-h)/h
    z=sin(v)*a*(u-h)/h

    where:
    h is height of the cone
    a is the Radius of the Base
    u goes from 0 to h
    v goes from 0 to 2*pi

    This cone lies on the x-axis. I need it to lie on the theta and phi axis. This is what I came up with to transform it:

    |x1| |cos(theta)*cos(phi) sin(phi) sin(theta)*cos(phi) | |x|
    |y1| = |sin(theta)*cos(phi) cos(theta)*cos(phi) sin(phi) | = |y|
    |z1| |sin(phi) sin(theta)*cos(phi) cos(theta)*cos(phi)| |z|
     
    Last edited: May 16, 2012
  2. jcsd
  3. May 17, 2012 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    What do you mean by "the theta and phi axis"?
     
  4. May 17, 2012 #3
    Originally at (r, 0 ,0) transform to (r, theta, phi) for all u and v.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook