CogRectangle Intersect Method Cognex VisionPro 9.8 SR1
Compute the intersection with Other.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax

public CogRectangle Intersect(
	CogRectangle other,
	CogCopyShapeConstants copyFlags
)

Return Value

Type: CogRectangle

The intersection of this rectangle with other

Exceptions

ExceptionCondition
ArgumentException

other is NULL.

This rectangle and other do not intersect.

Remarks

Return a rectangle that is the intersection of this rectangle with another.

See Also