M_Rhino_Geometry_Mesh_WithShutLining - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.WithShutLining Method

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

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Mesh WithShutLining(
	bool faceted,
	double tolerance,
	IEnumerable<ShutLiningCurveInfo> curves
)

VB

Public Function WithShutLining ( 
	faceted As Boolean,
	tolerance As Double,
	curves As IEnumerable(Of ShutLiningCurveInfo)
) As Mesh

Parameters

 

faceted
Type: System.Boolean
Specifies whether the shutline is faceted.
tolerance
Type: System.Double
The tolerance of the shutline.
curves
Type: System.Collections.Generic.IEnumerable(ShutLiningCurveInfo)
A collection of curve arguments.

Return Value

Type: Mesh
A new mesh with shutlining. Null on failure.

Exceptions

 

Exception Condition
ArgumentNullException If curves is null.
InvalidOperationException If displacement failed because of an error. The exception message specifies the error.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Mesh Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️