CurvatureAnalysisSettings
Contains static methods and properties to modify curvature analysis-related commands.
Properties
Gets or sets the Gaussian curvature range.
Gets or sets the Maximum Radius curvature range.
Gets or sets the Mean curvature range.
Gets or sets the Minimum Radius curvature range.
Gets or sets whether to show isocurves.
Gets or sets the curvature analysis style.
Methods
public static bool CalculateCurvatureAutoRange(IEnumerable<Mesh> meshes, ref CurvatureAnalysisSettingsState settings)
Parameters:
| meshes (IEnumerable<Mesh>) | |
| settings (ref CurvatureAnalysisSettingsState) |
public static bool CalculateCurvatureMaxRange(IEnumerable<Mesh> meshes, CurvatureAnalysisSettingsState settings)
Calculates the full range of curvature values found on the analysis meshes. On success the range is written to the range of settings that matches settings.Style.
Parameters:
| meshes (IEnumerable<Mesh>) | The analysis meshes to measure. Brep.CreateCurvatureAnalysisMesh creates them. |
| settings (CurvatureAnalysisSettingsState) | Supplies the curvature style, and receives the calculated range. |
Returns: true if the range was calculated.
Exceptions:
| ArgumentNullException |
Gets the current settings of the application.
Gets the factory settings of the application.
public static void RestoreDefaults()
Commits the default settings as the current settings.
Sets all settings to a particular defined joined state.
Parameters:
| state (CurvatureAnalysisSettingsState) | The particular state. |