How to get legal diagonal count for (x,y) In only one direction?Chess : how to count all legal moves on...

Norwegian Refugee travel document

Error in master's thesis, I do not know what to do

Can "few" be used as a subject? If so, what is the rule?

Animating wave motion in water

Why is there so much iron?

Why does Surtur say that Thor is Asgard's doom?

What (if any) is the reason to buy in small local stores?

UK Tourist Visa- Enquiry

Emojional cryptic crossword

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Turning a hard to access nut?

How to find the largest number(s) in a list of elements, possibly non-unique?

Why is indicated airspeed rather than ground speed used during the takeoff roll?

Why is "la Gestapo" feminine?

Does fire aspect on a sword, destroy mob drops?

Why is participating in the European Parliamentary elections used as a threat?

Is there any common country to visit for uk and schengen visa?

Hackerrank All Women's Codesprint 2019: Name the Product

Print a physical multiplication table

pipe commands inside find -exec?

Why didn’t Eve recognize the little cockroach as a living organism?

When did hardware antialiasing start being available?

What is the tangent at a sharp point on a curve?

What are the consequences of changing the number of hours in a day?



How to get legal diagonal count for (x,y) In only one direction?


Chess : how to count all legal moves on diagonals for a queen placed in $(x,y)$Calculate measurements for a diagonal fence beamFinding the other 2 coordinates of a rectangle if you only have 2Why does a figure look the same in every coordinate system?How do I determine both width and angles to cut on my deck1D scaled rectangle bisecting a known rectangleHow do i get a view frames axis directions given a camera's direction vector?How to calculate the length of the sides of a rectangle given the diagonal coordinatesCamera orientation and focal length from two 3D points and known positionCollision Detection of 3D CuboidsChess : how to count all legal moves on diagonals for a queen placed in $(x,y)$













1












$begingroup$


In my previous question I get all legal diagonals for $(x,y)$ point on coordinate plane, Now I'm trying to get the diagonal for only one direction. e.g:
$(3,4)$ on board length 5, the top right would be 1, top left 2, bottom right 1 and top left 2, I tried to figure out the equation for that, but I missed it up.



Reference much appreciated, Thank you.










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    In my previous question I get all legal diagonals for $(x,y)$ point on coordinate plane, Now I'm trying to get the diagonal for only one direction. e.g:
    $(3,4)$ on board length 5, the top right would be 1, top left 2, bottom right 1 and top left 2, I tried to figure out the equation for that, but I missed it up.



    Reference much appreciated, Thank you.










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      In my previous question I get all legal diagonals for $(x,y)$ point on coordinate plane, Now I'm trying to get the diagonal for only one direction. e.g:
      $(3,4)$ on board length 5, the top right would be 1, top left 2, bottom right 1 and top left 2, I tried to figure out the equation for that, but I missed it up.



      Reference much appreciated, Thank you.










      share|cite|improve this question











      $endgroup$




      In my previous question I get all legal diagonals for $(x,y)$ point on coordinate plane, Now I'm trying to get the diagonal for only one direction. e.g:
      $(3,4)$ on board length 5, the top right would be 1, top left 2, bottom right 1 and top left 2, I tried to figure out the equation for that, but I missed it up.



      Reference much appreciated, Thank you.







      geometry






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Mar 14 at 7:16







      Ibrahim Ali

















      asked Mar 11 at 13:42









      Ibrahim AliIbrahim Ali

      183




      183






















          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          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%2f3143691%2fhow-to-get-legal-diagonal-count-for-x-y-in-only-one-direction%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3143691%2fhow-to-get-legal-diagonal-count-for-x-y-in-only-one-direction%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Nidaros erkebispedøme

          Birsay

          Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?