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
Syntaxpublic uint SetEdgeSharpness(
IEnumerable<int> edgeIds,
SubDEdgeSharpness sharpness,
bool preserveSymmetry
)
Public Function SetEdgeSharpness (
edgeIds As IEnumerable(Of Integer),
sharpness As SubDEdgeSharpness,
preserveSymmetry As Boolean
) As UInteger
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:
UInt32The number of edges that were changed.
See Also