 LinkageDesigner Package Paclet Symbol See Also »| More About »

# DefineCircle

 DefineCircle[p1, p2, p3]Function calculates the center, normal and radius of the circle defined by the three spatial points p1, p2, p3. The function returns with {{Ox, Oy, Oz}, {nX, nY, nZ}, r} of the circle, where {nX, nY, nZ} is the normal vector of the plane defined by p1,p2,p3 points. DefineCircle[p1, p2, p3]In case of planar case, when p1,p2 and p3 points are defined with 2 dimensional lists, the function calculates the center and the radius of the circle.
• In case of collinear points the circle can not be defined and the function returns with {{0,0,0},{0,0,1},Infinity} in spatial case or {{0,0},Infinity} in planar case.
Load LinkageDesigner package
 In:=
Define three planar points
 In:=
Calculate the center and the radius of the circle defined by P1,P2 and P3 points
 In:=
 Out= Calculate points of the circle by rotating P1 point around the normal vector anchored by the origin of the circle
 In:=
 Out= Display the center , normal of the circle and the circle defined by the three points P1,P2,P3
 In:=
 Out=   