Click or drag to resize

SubDSetEdgeSharpness Method (IEnumerableInt32, SubDEdgeSharpness, Boolean)

Sets the sharpness of a list of edges, identified by their ids.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.36
Syntax
public uint SetEdgeSharpness(
	IEnumerable<int> edgeIds,
	SubDEdgeSharpness sharpness,
	bool preserveSymmetry
)

Parameters

edgeIds
Type: System.Collections.GenericIEnumerableInt32
The ids of the edges to change.
sharpness
Type: Rhino.GeometrySubDEdgeSharpness
The sharpness to apply to every edge in the list. Pass Smooth to make the edges smooth again.
preserveSymmetry
Type: SystemBoolean
If true and this SubD has symmetric content, the change tries to keep it symmetric.

Return Value

Type: UInt32
The number of edges that were changed.
See Also