CADability dotNET
Returns the intersection of the two given Solids. If the solids are disjunct, null will be returned. s1 and s2 will be intersected, the common solid is returned, which may consist of several solids

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

Syntax

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

Return Value

intersection of the two solids or null

See Also