Click or drag to resize

MeshCreateFromCurveExtrusion Method

Constructs a mesh from an extruded curve. This method is designed for projecting curves onto a mesh. In most cases, a better to use CreateExtrusion(Curve, Vector3d).

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static Mesh CreateFromCurveExtrusion(
	Curve curve,
	Vector3d direction,
	MeshingParameters parameters,
	BoundingBox boundingBox
)

Parameters

curve
Type: Rhino.GeometryCurve
A curve to extrude.
direction
Type: Rhino.GeometryVector3d
The direction of extrusion.
parameters
Type: Rhino.GeometryMeshingParameters
The parameters of meshing.
boundingBox
Type: Rhino.GeometryBoundingBox
The bounding box controls the length of the extrusion.

Return Value

Type: Mesh
A new mesh, or null on failure.
See Also