09-30-2022 01:09 PM
10-01-2022 06:26 AM
Hi, Thanks for your feedback at first.
Your version is too high for me, could you save as 2014 and post the postion of P,M and Q? so I can check it.
Thanks
Boone
10-01-2022 06:31 AM
10-01-2022 07:42 PM
8.6
10-01-2022 09:01 PM
Well, I didn't notice this post when it appeared 8+ years ago. But the problem is basically simple to solve, though it involves a bit of math. Let's start with three points, A, B, C in 3D space, but not on a straight line, so that they form the triangle ABC. Here's what you do:
Before trying to solve the difficult problem of finding the circumcenter of triangle ABC that lies in a 3-D space, try to solve the (simpler) problem of ABC lying in the XY plane. Make it even simpler by putting A at the Origin, B along the X axis, and C in the upper (+Y) half-plane. Let a, b, and c be the lengths of sides BC, AC, and AB (named for the triangle vertex opposite the side). Then A is at (0, 0), B at (c, 0), and C at (Cx, Cy), where Cy > 0. The perpendicular bisector of AB is simply the vertical line whose X coordinate is c/2 (half the distance from A to B). We know the midpoint of BC, namely 0.5 * (Cx + c, Cy). The equation for the perpendicular bisector of BC passes through this midpoint and has a slope of (Cx - c)/Cy (do you see how I got that? Think of the formula for slope, delta y / delta x. Interchanging X and Y amounts to a rotation by 90°). Use this to form the equation for the perpendicular bisector of BC and see where it equals c/2. This should be the coordinates of the circumcenter.
If you really want to be sure, do the same messy equations for side AC, and see that (I hope) you get the same intersection with the perpendicular bisector of AB at c/2.
OK, now you know the center of the circle. What is its radius? Simple, just the length of the line from the origin (0, 0) to the circumcenter, whose coordinates you just computed.
If you are really a glutton for punishment and want to do the 3D case, here's what I'd do:
Bob Schor
10-01-2022 09:07 PM
Thank you. If I have time, I will study.
10-02-2022 10:20 AM
Hi,
Thanks for your feedback.
I have fix the bug.
It should be PM*MQ
Thanks
Boone
10-03-2022 12:41 AM
Very good, and probably correct when tested
10-04-2022
03:43 AM
- last edited on
10-04-2022
04:17 PM
by
NI_Community_Su
Ok,if find some bug, please send me a message
Thanks
Boone