Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
3D 平面の 3 つの点を知っています。2 点は対角線の端点で、もう 1 点は平面上のランダムな点です。既知の対角線から長方形の他の 2 つの点を計算するにはどうすればよいですか? (後で、ポイントを使用して、C# で四角形の周囲を計算します。)
対角線の終点がわかっているので、対角線の長さを計算できます。そこから、長方形の辺の長さを決定できます。対角座標と辺の長さがあれば、加減算を使用して長方形の他の 2 点を決定できます。