Mesh.WithShutLining Method

MeshWithShutLining Method

Constructs new mesh from the current one, with shut lining applied to it.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Mesh WithShutLining(
	bool faceted,
	double tolerance,
	IEnumerable<ShutLiningCurveInfo> curves
)
Public Function WithShutLining ( 
	faceted As Boolean,
	tolerance As Double,
	curves As IEnumerable(Of ShutLiningCurveInfo)
) As Mesh

Parameters

faceted
Type: SystemBoolean
Specifies whether the shutline is faceted.
tolerance
Type: SystemDouble
The tolerance of the shutline.
curves
Type: System.Collections.GenericIEnumerableShutLiningCurveInfo
A collection of curve arguments.

Return Value

Type: Mesh
A new mesh with shutlining. Null on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf curves is null.
InvalidOperationExceptionIf displacement failed because of an error. The exception message specifies the error.
Version Information

Rhino for Windows

Supported in: 6.8
See Also