Cone.from_circle_and_height
- classmethod Cone.from_circle_and_height(circle, height)[source]
Construct a cone from a circle and a height.
- Parameters:
- circle
compas.geometry.Circle
The base circle of the cone.
- heightfloat
The height of the cone.
- circle
- Returns:
compas.geometry.Cone
The cone.
See also
Examples
>>> circle = Circle(Frame.worldXY(), 0.3) >>> cone = Cone.from_circle_and_height(circle, 1.0)