Solid.Difference<T> (T, T, Boolean, Double) Method
Boolean Difference between two solids.
Public Shared Function Difference(Of _
T As {Solid, New})( _
ByVal a As T, _
ByVal b As T, _
ByVal keepOriginalColors As Boolean, _
Optional ByVal tol As Double = 0 _
) As T()
This language is not supported or no code example is available.
public static T[] Difference<T>(
T a,
T b,
bool keepOriginalColors,
double tol = 0
)
where T : Solid, new()
This language is not supported or no code example is available.
Type Parameters
-
T
-
Parameters
-
a
-
T
First operand
-
b
-
T
Second operand
-
keepOriginalColors
-
bool
If true, the portions of the solids resulting from the boolean operation will keep the colors and materials of the original solids
-
tol
-
double
Optional tolerance, start with domain size * 1e-6
Return Value
T[]
An array of solids if the operation is successful, null/Nothing otherwise.
.NET Framework
Supported in: 4.5, 4.6, 4.7