Skip to content

BH.oM.Matter.Options.DensityExtractionType

Specifies how the density should be extracted from a list of IDensityProvider.

Enum values

Name Description
AllMatching Require all densities across all IDensityProviders extracted to be equal within tolerance. If within tolerance, the average is computed.
Average Compute and return the average value of all densities found, independent of difference between them.
Maximum Return the maximum value of all densities found.
Minimum Return the minimum value of all densities found.

Code and Schema

C# implementation

C#
public enum DensityExtractionType : System.Enum, System.ValueType, System.IComparable, System.ISpanFormattable, System.IFormattable, System.IConvertible

Assembly: Matter_oM.dll

The C# enum definition is available on github:

All history and changes of the class can be found by inspection the history.

JSON Schema implementation

The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.

JSON Schema
{
 "$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/Matter_oM/Options/DensityExtractionType.json"
}

The JSON Schema is available on github here: