CADability dotNET
Returns the union of the two given Solids. If the solids are disjunct, null will be returned

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

Syntax

C#
public static Solid Union(
	Solid s1,
	Solid s2
)
Visual Basic
Public Shared Function Union ( _
	s1 As Solid, _
	s2 As Solid _
) As Solid
Visual C++
public:
static Solid^ Union(
	Solid^ s1, 
	Solid^ s2
)

Parameters

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

Return Value

union of the two solids or null

See Also