å転å¦çã«ããã¦å¦ççµæã«å ¥åç»åãã¹ã¦ãåã¾ãããã«ããããã«ã¯åºåç»åã®å¤§ãããè¨ç®ããå¿ è¦ãããã¾ãã å¹ :swãé«ã:shã®ç»åãA度å転ãããã¨ãã®åºåç»åã®å¹ (dw)ãé«ã(dh)ã¯æ¬¡ã®ããã«è¨ç®ããã¾ãã ( fabs() : math.hã§å®ç¾©ããã¦ããæµ®åå°æ°ã®çµ¶å¯¾å¤ãå¾ãæ¨æºé¢æ° ï¼ dw = fabs( sw * cos(A) ) + fabs( sh * sin(A) ) dh = fabs( sw * sin(A) ) + fabs( sh * cos(A) ) å®éã®ããã°ã©ã ä¸ã§ã¯å¹ é«ãã¯æ´æ°ã§ãªãã¨ãããªãã®ã§ãé常次ã®ããã«åæ¨äºå ¥ããã¦çµæãæ±ãã¾ãã int dw = (int)( fabs( sw * cos(A) ) + fabs( sh * sin(A) ) + 0.5 ) int dh = (int)( fabs( sw *
{{#tags}}- {{label}}
{{/tags}}