How to obtain $x$ and $y$ coordinates from curvature data

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I want to visualize points that are given as curvature data (arclength along the path,curvature or radius) e.g.



$$
beginarray ccc
hline
textarclength & textcurvature & textradius\
hline
0.000 & 0.0145 & 68.9655\
5.000 & 0.0142 & 68.7350\
10.000 & 0.0138 & 71.7875\
15.000 & 0.0126 & -81.9672\
20.000 & 0.0115 & -90.7441\
hline
endarray
$$



At the moment I am using the mean radius between two data points and then I am calculating the $x$ and $y$ coordinates from a circle then displaying the starting coordinates such that they start from the origin. For the following sections I calculate the $dx, dy$ components and then I rotate the results into the tangential direction and add them to the previous coordinates. This solution is quite hacky, that is why I am interested in a more direct way/or alternative way as I assume that I am not the first person to do such a thing. Code snippets (e.g. for Python, MATLAB, Java, C, C++, C#...) are also welcome.







share|cite|improve this question
























    up vote
    1
    down vote

    favorite












    I want to visualize points that are given as curvature data (arclength along the path,curvature or radius) e.g.



    $$
    beginarray ccc
    hline
    textarclength & textcurvature & textradius\
    hline
    0.000 & 0.0145 & 68.9655\
    5.000 & 0.0142 & 68.7350\
    10.000 & 0.0138 & 71.7875\
    15.000 & 0.0126 & -81.9672\
    20.000 & 0.0115 & -90.7441\
    hline
    endarray
    $$



    At the moment I am using the mean radius between two data points and then I am calculating the $x$ and $y$ coordinates from a circle then displaying the starting coordinates such that they start from the origin. For the following sections I calculate the $dx, dy$ components and then I rotate the results into the tangential direction and add them to the previous coordinates. This solution is quite hacky, that is why I am interested in a more direct way/or alternative way as I assume that I am not the first person to do such a thing. Code snippets (e.g. for Python, MATLAB, Java, C, C++, C#...) are also welcome.







    share|cite|improve this question






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I want to visualize points that are given as curvature data (arclength along the path,curvature or radius) e.g.



      $$
      beginarray ccc
      hline
      textarclength & textcurvature & textradius\
      hline
      0.000 & 0.0145 & 68.9655\
      5.000 & 0.0142 & 68.7350\
      10.000 & 0.0138 & 71.7875\
      15.000 & 0.0126 & -81.9672\
      20.000 & 0.0115 & -90.7441\
      hline
      endarray
      $$



      At the moment I am using the mean radius between two data points and then I am calculating the $x$ and $y$ coordinates from a circle then displaying the starting coordinates such that they start from the origin. For the following sections I calculate the $dx, dy$ components and then I rotate the results into the tangential direction and add them to the previous coordinates. This solution is quite hacky, that is why I am interested in a more direct way/or alternative way as I assume that I am not the first person to do such a thing. Code snippets (e.g. for Python, MATLAB, Java, C, C++, C#...) are also welcome.







      share|cite|improve this question












      I want to visualize points that are given as curvature data (arclength along the path,curvature or radius) e.g.



      $$
      beginarray ccc
      hline
      textarclength & textcurvature & textradius\
      hline
      0.000 & 0.0145 & 68.9655\
      5.000 & 0.0142 & 68.7350\
      10.000 & 0.0138 & 71.7875\
      15.000 & 0.0126 & -81.9672\
      20.000 & 0.0115 & -90.7441\
      hline
      endarray
      $$



      At the moment I am using the mean radius between two data points and then I am calculating the $x$ and $y$ coordinates from a circle then displaying the starting coordinates such that they start from the origin. For the following sections I calculate the $dx, dy$ components and then I rotate the results into the tangential direction and add them to the previous coordinates. This solution is quite hacky, that is why I am interested in a more direct way/or alternative way as I assume that I am not the first person to do such a thing. Code snippets (e.g. for Python, MATLAB, Java, C, C++, C#...) are also welcome.









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 15 at 9:50









      MrYouMath

      13.7k31236




      13.7k31236

























          active

          oldest

          votes











          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "69"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2883416%2fhow-to-obtain-x-and-y-coordinates-from-curvature-data%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2883416%2fhow-to-obtain-x-and-y-coordinates-from-curvature-data%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          How to combine Bézier curves to a surface?

          Propositional logic and tautologies

          Distribution of Stopped Wiener Process with Stochastic Volatility