CADability dotNET
Returns the intersection (common parts, overlapping area) of two simple shapes.

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

Syntax

C#
public static CompoundShape Intersect(
	SimpleShape Part1,
	SimpleShape Part2
)
Visual Basic
Public Shared Function Intersect ( _
	Part1 As SimpleShape, _
	Part2 As SimpleShape _
) As CompoundShape
Visual C++
public:
static CompoundShape^ Intersect(
	SimpleShape^ Part1, 
	SimpleShape^ Part2
)

Parameters

Part1
Type: CADability.Shapes..::..SimpleShape
First shape
Part2
Type: CADability.Shapes..::..SimpleShape
Second shape

Return Value

The resulting shape (may be empty)

See Also