CurvatureAnalysisSettings

public static class CurvatureAnalysisSettings
Contains static methods and properties to modify curvature analysis-related commands.

Properties

GaussRange

#Since v6.0
public static Interval GaussRange { get; set; }
Gets or sets the Gaussian curvature range.

MaxRadiusRange

#Since v6.0
public static Interval MaxRadiusRange { get; set; }
Gets or sets the Maximum Radius curvature range.

MeanRange

#Since v6.0
public static Interval MeanRange { get; set; }
Gets or sets the Mean curvature range.

MinRadiusRange

#Since v6.0
public static Interval MinRadiusRange { get; set; }
Gets or sets the Minimum Radius curvature range.

ShowIsoCurves

#Since v9.0
public static bool ShowIsoCurves { get; set; }
Gets or sets whether to show isocurves.

Style

#Since v6.0
public static CurvatureAnalysisSettings.CurvatureStyle Style { get; set; }
Gets or sets the curvature analysis style.

Methods

CalculateCurvatureAutoRange

#Since v6.0
public static bool CalculateCurvatureAutoRange(IEnumerable<Mesh> meshes, ref CurvatureAnalysisSettingsState settings)
meshes (IEnumerable<Mesh>)
settings (ref CurvatureAnalysisSettingsState)

CalculateCurvatureMaxRange

#Since v9.0
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.
meshes (IEnumerable<Mesh>)The analysis meshes to measure. Brep.CreateCurvatureAnalysisMesh creates them.
settings (CurvatureAnalysisSettingsState)Supplies the curvature style, and receives the calculated range.
true if the range was calculated.

GetCurrentState

#Since v6.0
public static CurvatureAnalysisSettingsState GetCurrentState()
Gets the current settings of the application.

GetDefaultState

#Since v6.0
public static CurvatureAnalysisSettingsState GetDefaultState()
Gets the factory settings of the application.

RestoreDefaults

#Since v6.0
public static void RestoreDefaults()
Commits the default settings as the current settings.

UpdateFromState

#Since v6.0
public static void UpdateFromState(CurvatureAnalysisSettingsState state)
Sets all settings to a particular defined joined state.
state (CurvatureAnalysisSettingsState)The particular state.