SurfaceCreateExtrusion Method |
Constructs a surface by extruding a curve along a vector.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static Surface CreateExtrusion(
Curve profile,
Vector3d direction
)
Public Shared Function CreateExtrusion (
profile As Curve,
direction As Vector3d
) As Surface
Parameters
- profile
- Type: Rhino.GeometryCurve
Profile curve to extrude. - direction
- Type: Rhino.GeometryVector3d
Direction and length of extrusion.
Return Value
Type:
SurfaceA surface on success or null on failure.
See Also