public class EnclosureDescription extends Object
Solid.getEnclosureDescriptions().| Constructor and Description |
|---|
EnclosureDescription(RealValuedScalarFunction1<Cartesian> function,
EnclosureFunctionType functionType)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
RealValuedScalarFunction1<Cartesian> |
getFunction()
Gets the enclosure function.
|
EnclosureFunctionType |
getFunctionType()
Gets the type of value returned by the
Function (get). |
public EnclosureDescription(@Nonnull RealValuedScalarFunction1<Cartesian> function, @Nonnull EnclosureFunctionType functionType)
function - 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 - The type of value returned by the function.ArgumentNullException - Thrown when function is null.@Nonnull public final RealValuedScalarFunction1<Cartesian> getFunction()
@Nonnull public final EnclosureFunctionType getFunctionType()
Function (get).