circle_from_points

compas.geometry.circle_from_points(a, b, c)[source]

Construct a circle from three points.

Parameters
  • a (sequence of float) – XYZ coordinates.

  • b (sequence of float) – XYZ coordinates.

  • c (sequence of float) – XYZ coordinates.

Returns

circle (tuple) – Center, radius, normal of the circle.

Notes

For more information, see 1.

References

1

Wikipedia. Circumscribed circle. Available at: https://en.wikipedia.org/wiki/Circumscribed_circle.

Examples

>>>