Click or drag to resize

SubDDisplayParametersAbsoluteDisplayDensityFromSubD Method

Gets absolute SubD display density for subd.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.18
Syntax
public static uint AbsoluteDisplayDensityFromSubD(
	uint adaptiveSubDDisplayDensity,
	SubD subd
)

Parameters

adaptiveSubDDisplayDensity
Type: SystemUInt32
A value <= SubDDisplayParameters.Density.MaximumDensity. When in doubt, pass SubDDisplayParameters.Density.DefaultDensity.
subd
Type: Rhino.GeometrySubD
In the cases when the SubD in question is not available, like user interface code that applies in general and to unknown SubDs, pass SubD.Empty.

Return Value

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