CoordinateSystems R¶

CoordinateSystems provides coordinate transformation functions for plotting. Functions in this package return conversion functions which take points expressed in other coordinate systems and return points with the corresponding Cartesian coordinates.

bipolar: R -> Point R -> Point R
bipolar(a) transforms from bipolar coordinates to Cartesian coordinates: bipolar(a) is a function which will map the point (u, v) to x = a*sinh(v)/(cosh(v)-cos(u)), y = a*sin(u)/(cosh(v)-cos(u)).
bipolarCylindrical: R -> Point R -> Point R
bipolarCylindrical(a) transforms from bipolar cylindrical coordinates to Cartesian coordinates: bipolarCylindrical(a) is a function which will map the point (u, v, z) to x = a*sinh(v)/(cosh(v)-cos(u)), y = a*sin(u)/(cosh(v)-cos(u)), z.
cartesian: Point R -> Point R
cartesian(pt) returns the Cartesian coordinates of point pt.
conical: (R, R) -> Point R -> Point R
conical(a, b) transforms from conical coordinates to Cartesian coordinates: conical(a, b) is a function which will map the point (lambda, mu, nu) to x = lambda*mu*nu/(a*b), y = lambda/a*sqrt((mu^2-a^2)*(nu^2-a^2)/(a^2-b^2)), z = lambda/b*sqrt((mu^2-b^2)*(nu^2-b^2)/(b^2-a^2)).
cylindrical: Point R -> Point R
cylindrical(pt) transforms pt from polar coordinates to Cartesian coordinates: the function produced will map the point (r, theta, z) to x = r * cos(theta), y = r * sin(theta), z.
elliptic: R -> Point R -> Point R
elliptic(a) transforms from elliptic coordinates to Cartesian coordinates: elliptic(a) is a function which will map the point (u, v) to x = a*cosh(u)*cos(v), y = a*sinh(u)*sin(v).
ellipticCylindrical: R -> Point R -> Point R
ellipticCylindrical(a) transforms from elliptic cylindrical coordinates to Cartesian coordinates: ellipticCylindrical(a) is a function which will map the point (u, v, z) to x = a*cosh(u)*cos(v), y = a*sinh(u)*sin(v), z.
oblateSpheroidal: R -> Point R -> Point R
oblateSpheroidal(a) transforms from oblate spheroidal coordinates to Cartesian coordinates: oblateSpheroidal(a) is a function which will map the point (xi, eta, phi) to x = a*sinh(xi)*sin(eta)*cos(phi), y = a*sinh(xi)*sin(eta)*sin(phi), z = a*cosh(xi)*cos(eta).
parabolic: Point R -> Point R
parabolic(pt) transforms pt from parabolic coordinates to Cartesian coordinates: the function produced will map the point (u, v) to x = 1/2*(u^2 - v^2), y = u*v.
parabolicCylindrical: Point R -> Point R
parabolicCylindrical(pt) transforms pt from parabolic cylindrical coordinates to Cartesian coordinates: the function produced will map the point (u, v, z) to x = 1/2*(u^2 - v^2), y = u*v, z.
paraboloidal: Point R -> Point R
paraboloidal(pt) transforms pt from paraboloidal coordinates to Cartesian coordinates: the function produced will map the point (u, v, phi) to x = u*v*cos(phi), y = u*v*sin(phi), z = 1/2 * (u^2 - v^2).
polar: Point R -> Point R
polar(pt) transforms pt from polar coordinates to Cartesian coordinates: the function produced will map the point (r, theta) to x = r * cos(theta) , y = r * sin(theta).
prolateSpheroidal: R -> Point R -> Point R
prolateSpheroidal(a) transforms from prolate spheroidal coordinates to Cartesian coordinates: prolateSpheroidal(a) is a function which will map the point (xi, eta, phi) to x = a*sinh(xi)*sin(eta)*cos(phi), y = a*sinh(xi)*sin(eta)*sin(phi), z = a*cosh(xi)*cos(eta).
spherical: Point R -> Point R
spherical(pt) transforms pt from spherical coordinates to Cartesian coordinates: the function produced will map the point (r, theta, phi) to x = r*sin(phi)*cos(theta), y = r*sin(phi)*sin(theta), z = r*cos(phi).
toroidal: R -> Point R -> Point R
toroidal(a) transforms from toroidal coordinates to Cartesian coordinates: toroidal(a) is a function which will map the point (u, v, phi) to x = a*sinh(v)*cos(phi)/(cosh(v)-cos(u)), y = a*sinh(v)*sin(phi)/(cosh(v)-cos(u)), z = a*sin(u)/(cosh(v)-cos(u)).