Compute the intersection with Other.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax
Parameters
- other
- Type: Cognex.VisionPro CogRectangle
The intersecting rectangle.
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
Specify which attributes of the shape to copy to the new shape.
Return Value
Type: CogRectangleThe intersection of this rectangle with other
Exceptions
| Exception | Condition |
|---|---|
| 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