CADability dotNET
Checks whether the two provided solids have overlapping faces. If this is the case, one of the two faces or both faces are split in a way that the modified solids have common, identical faces which have the same outlines

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

Syntax

C#
public static bool SplitCommonFace(
	Solid s1,
	Solid s2,
	out Face[] splittedOnS1,
	out Face[] splittedOnS2
)
Visual Basic
Public Shared Function SplitCommonFace ( _
	s1 As Solid, _
	s2 As Solid, _
	<OutAttribute> ByRef splittedOnS1 As Face(), _
	<OutAttribute> ByRef splittedOnS2 As Face() _
) As Boolean
Visual C++
public:
static bool SplitCommonFace(
	Solid^ s1, 
	Solid^ s2, 
	[OutAttribute] array<Face^>^% splittedOnS1, 
	[OutAttribute] array<Face^>^% splittedOnS2
)

Parameters

s1
Type: CADability.GeoObject..::..Solid
The first solid
s2
Type: CADability.GeoObject..::..Solid
The second solid
splittedOnS1
Type: array<CADability.GeoObject..::..Face>[]()[][]%
Splitted faces on s1
splittedOnS2
Type: array<CADability.GeoObject..::..Face>[]()[][]%
Splitted faces on s2

Return Value

Returns true if common overlapping faces were found.

See Also