Circle.from_plane_and_radius

classmethod Circle.from_plane_and_radius(plane, radius)[source]

Construct a circle from a plane and a radius.

Parameters:
planecompas.geometry.Plane

The plane of the circle.

radiusfloat

The radius of the circle.

Returns:
compas.geometry.Circle

The constructed circle.

Examples

>>> from compas.geometry import Plane
>>> from compas.geometry import Circle
>>> plane = Plane([0, 0, 0], [0, 0, 1])
>>> circle = Circle.from_plane_and_radius(plane, 5)