CADability dotNET
Returns the difference of the two given Solids. If the solids are disjunct, null will be returned. s2 will be subtracted from s1.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static Solid[] Difference(
	Solid s1,
	Solid s2
)
Visual Basic
Public Shared Function Difference ( _
	s1 As Solid, _
	s2 As Solid _
) As Solid()
Visual C++
public:
static array<Solid^>^ Difference(
	Solid^ s1, 
	Solid^ s2
)

Parameters

s1
Type: CADability.GeoObject..::..Solid
first solid
s2
Type: CADability.GeoObject..::..Solid
second solid

Return Value

difference of the two solids or null

See Also