Class Settings
Multi-layered struct that holds the library settings.
Inheritance
System.Object
Settings
Namespace: Paramdigma.Core
Assembly: Paramdigma.Core.dll
Syntax
public static class Settings : object
Properties
| Improve this Doc View SourceMaxDecimals
Gets how many decimals are allowed when using the library.
Declaration
public static int MaxDecimals { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Tolerance
Gets the minimum value allowed when using this library.
Declaration
public static double Tolerance { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceGetDefaultTesselationLevel()
Gets the default tessellation level when converting nurbs to meshes.
Declaration
public static int GetDefaultTesselationLevel()
Returns
Type | Description |
---|---|
System.Int32 | Integer representing the default tessellation level. |
Reset()
Reset the Settings to it's default values.
Declaration
public static void Reset()
SetTolerance(Double)
Modifies the tolerance and computes the maxDecimals value accordingly.
Declaration
public static void SetTolerance(double tolerance)
Parameters
Type | Name | Description |
---|---|---|
System.Double | tolerance | Desired tolerance. |