Click or drag to resize

EnclosureDescription Constructor

Initializes a new instance.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public EnclosureDescription(
	RealValuedScalarFunction<Cartesian> function,
	EnclosureFunctionType functionType
)

Parameters

function
Type: AGI.Foundation.NumericalMethodsRealValuedScalarFunctionCartesian
The enclosure function. If all enclosure functions return a value greater than 0.0 for a given position, then that position is inside the volume.
functionType
Type: AGI.Foundation.Geometry.ShapesEnclosureFunctionType
The type of value returned by the function.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when function is .
See Also