Click or drag to resize

SubDDisplayParametersAbsoluteDisplayDensityFromSubDFaceCount Method

Gets the absolute SubD display density for SubD with subdFaceCount faces.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.18
Syntax
public static uint AbsoluteDisplayDensityFromSubDFaceCount(
	uint adaptiveSubDDisplayDensity,
	uint subDFaceCount
)

Parameters

adaptiveSubDDisplayDensity
Type: SystemUInt32
A value <= SubDDisplayParameters.Density.MaximumDensity. When in doubt, pass SubDDisplayParameters.Density.DefaultDensity.
subDFaceCount
Type: SystemUInt32
Number of SubD faces.

Return Value

Type: UInt32
The absolute SubD display density is <= adaptiveSubDDisplayDensity and <= SubDDisplayParameters.Density.MaximumDensity.
See Also