ç·åã¨ç¹ã®è·é¢ãæ±ããã¢ã«ã´ãªãºã æ¦è¦ ç·å (x0,y0) â (x1,y1) ã¨ä¸ããããç¹ (px,py)ã¨ã®è·é¢ããã¨ããã ç¹ããç·ä¸ã«åç·ããããããã®åç·ã®é·ããè¨ãã°è·é¢ãæ±ã¾ãã ææ³ ç°¡åã«ãããããç´ç·(ä¸ã®ç¹)ã¯ãåªä»å¤æ° t ã使ã£ã¦ (x0+dx*t, y0+dy*t)ã§è¡¨ããã¨ã«ããã åç·ã¨ç·åã®ãã¯ãã«ã®å ç©ã0ã§ãããã¨ãå©ç¨ãã¦è§£ããã¨ããã ä¾å¤ åç·ã®è¶³ (tx,ty) ãç·åä¸ã«ãªããã°ãç·åã®ç«¯ç¹(x0,y0) ,(x1,y1)ã®ãã¡ã åç·ã®è¶³ã«è¿ãæ¹ã®ç«¯ç¹ããä¸ããããç¹ã¾ã§ã®è·é¢ãè¨ãã°è¯ãã æé dx = x1 - x0; dy = y1 - y0 ã¨ããã -- ç·åä¸ã®ç¹ã¯ (x0+dx*t,y0+dy*t) ç·åã¨åç·ã®ãã¯ãã«ã®å ç©ã¯ . (dx,dy)ã»(x0+dx*t-px,y0+dy*t-py) = (dx^2+dy^
{{#tags}}- {{label}}
{{/tags}}