You are here: Start » FIL.NET » Function Reference » Region » Region Combinators » FIL.RegionIntersection
Computes the common part of two regions.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RegionIntersection ( FilNet.Region inRegion1, FilNet.Region inRegion2, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion1 | FilNet.Region | First input region. | ||
![]() | inRegion2 | FilNet.Region | Second input region. | ||
![]() | outRegion | FilNet.Region | Output region. |
Description
The operation computes the logical intersection of two given regions. That is, the resulting region contains pixel locations that belong to both of the given regions. Both dimensions (width and height) of the resulting region are set to the minimum of the corresponding dimensions of the input regions.
Examples
![]() |
![]() |
![]() |
RegionIntersection run on the sample regions.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input and output regions are not distinct in RegionIntersection. |