Mathematical operations XML

  • Hi,

    Zitat

    I know about add/sub/mul/div/mod math operators. But this is not enough.
    How i can get sin or cosine?

    okay, I haven't thought that there would be really a need for sin and cos,
    but okay, I have added you note and will probably add them soon,

    Zitat

    How get sqrt?

    just: pow(var, 0.5);

    Zitat

    How to convert from Cartesian coordinates to polar coordinates?

    do you really want to convert between cartesian and polar coordinates,
    or do you just want the pano coordinates from the screen?

    the second ones can be get/converted with the screentosphere and spheretoscreen actions:
    https://krpano.com/docu/actions/#screentosphere

    best regards,
    Klaus

  • okay, I haven't thought that there would be really a need for sin and cos,
    but okay, I have added you note and will probably add them soon,

    OK, thanks. Do not forget about other trigonometric functions *smile*

    just: pow(var, 0.5);


    Thanks, I did not notice this feature *rolleyes*


    do you really want to convert between cartesian and polar coordinates,
    or do you just want the pano coordinates from the screen?


    No, it's not. I had to calculate the direction to go in the panorama of knowing the GPS coordinates of panoramas.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!