Creates an extrusion of a 3d curve (which must be planar) and a height.
RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
public static Extrusion Create(
Public Shared Function Create (
planarCurve As Curve,
height As Double,
cap As Boolean
) As Extrusion
- Type: Rhino.GeometryCurve
Planar curve used as profile
- Type: SystemDouble
If the height > 0, the bottom of the extrusion will be in plane and
the top will be height units above the plane.
If the height < 0, the top of the extrusion will be in plane and
the bottom will be height units below the plane.
The plane used is the one that is returned from the curve's TryGetPlane function.
- Type: SystemBoolean
If the curve is closed and cap is true, then the resulting extrusion is capped.
If the input is valid, then a new extrusion is returned. Otherwise null is returned