CADability dotNET
Returns the intersection of two solids, i.e. those parts that are common to both solids. If the solids are disjunct, an empty array is returned. There may be more than one solid body as a restult.

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

Syntax

C#
public static Solid[] Intersect(
	Solid solid1,
	Solid solid2
)
Visual Basic
Public Shared Function Intersect ( _
	solid1 As Solid, _
	solid2 As Solid _
) As Solid()
Visual C++
public:
static array<Solid^>^ Intersect(
	Solid^ solid1, 
	Solid^ solid2
)

Parameters

solid1
Type: CADability.GeoObject..::..Solid
first solid
solid2
Type: CADability.GeoObject..::..Solid
second solid

Return Value

array of common parts

See Also