Circle passing through 3 points
[cen, r, normal] = CL_gm_circumCircle(P1, P2, P3)
Computes the circle passing through 3 points (P1, P2 and P3).
The circle is defined by:
- cen: center of the circle,
- r: radius of the circle,
- normal: direction perpendicular to the plane containing the circle.
Notes:
- The 3 points should be all different and not aligned.
- All output quantities are set to [] if one of the input points is [].
Three points in cartesian coordinates (3xN or 3x1)
Center of the circle - cartesian coordinates (3xN)
Radius of the circle (1xN)
Normal direction (unit vector) (3xN)
CNES - DCT/SB