oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Combinators

Functions

static Region oevislib_net.Region.operator& (Region inRegion1, Region inRegion2)
 Bitwise AND operator.
static Region oevislib_net.Region.operator| (Region inRegion1, Region inRegion2)
 Bitwise OR operator.
static Region oevislib_net.Region.operator- (Region inRegion1, Region inRegion2)
 Difference operator.
static Region oevislib_net.Region.operator^ (Region inRegion1, Region inRegion2)
 Bitwise XOR operator.
static Region oevislib_net.Region.Intersect (Region inRegion1, Region inRegion2)
 Computes the intersection between two regions.
static Region oevislib_net.Region.Intersect (Array< Region > inRegions)
 Computes the intersection between multiple regions.
static Region oevislib_net.Region.Combine (Region inRegion1, Region inRegion2)
 Computes the union between two regions.
static Region oevislib_net.Region.Combine (Array< Region > inRegions)
 Computes the union between multiple regions.
static Region oevislib_net.Region.Subtract (Region inRegion1, Region inRegion2)
 Computes the difference between the provided regions.
static Region oevislib_net.Region.Subtract (Array< Region > inRegions)
 Computes the subtraction between multiple regions.
static Region oevislib_net.Region.AbsDifference (Region inRegion1, Region inRegion2)
 Computes the exclusive disjunction between two regions.
static Region oevislib_net.Region.AbsDifference (Array< Region > inRegions)
 Computes the absolute difference between multiple regions.

Detailed Description

Function Documentation

◆ AbsDifference() [1/2]

Region oevislib_net.Region.AbsDifference ( Array< Region > inRegions)
inlinestatic

Computes the absolute difference between multiple regions.

Parameters
inRegionsArray containing the regions on which the absolute difference is computed.
Returns
The computed region.

◆ AbsDifference() [2/2]

Region oevislib_net.Region.AbsDifference ( Region inRegion1,
Region inRegion2 )
inlinestatic

Computes the exclusive disjunction between two regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region containing the points that are either in the first or second region, but not in both.

◆ Combine() [1/2]

Region oevislib_net.Region.Combine ( Array< Region > inRegions)
inlinestatic

Computes the union between multiple regions.

Parameters
inRegionsArray containing the regions on which the union is computed.
Returns
The union region.

◆ Combine() [2/2]

Region oevislib_net.Region.Combine ( Region inRegion1,
Region inRegion2 )
inlinestatic

Computes the union between two regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region containing all the points from both regions.

◆ Intersect() [1/2]

Region oevislib_net.Region.Intersect ( Array< Region > inRegions)
inlinestatic

Computes the intersection between multiple regions.

If the input array is empty, the function return an empty region with frame (0, 0).

Parameters
inRegionsArray containing the regions on which the intersection is computed.
Returns
The intersection region.

◆ Intersect() [2/2]

Region oevislib_net.Region.Intersect ( Region inRegion1,
Region inRegion2 )
inlinestatic

Computes the intersection between two regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region with the points contained all the common points.

◆ operator&()

Region oevislib_net.Region.operator& ( Region inRegion1,
Region inRegion2 )
inlinestatic

Bitwise AND operator.

It performs the intersection between two regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region obtained by the intersection between two objects.

◆ operator-()

Region oevislib_net.Region.operator- ( Region inRegion1,
Region inRegion2 )
inlinestatic

Difference operator.

It performs the difference between two regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region obtained subtracting the two object.

◆ operator^()

Region oevislib_net.Region.operator^ ( Region inRegion1,
Region inRegion2 )
inlinestatic

Bitwise XOR operator.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region that contains only the points included in the first or second region, not in both.

◆ operator|()

Region oevislib_net.Region.operator| ( Region inRegion1,
Region inRegion2 )
inlinestatic

Bitwise OR operator.

It performs the union between two regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region obtained merging the two objects.

◆ Subtract() [1/2]

Region oevislib_net.Region.Subtract ( Array< Region > inRegions)
inlinestatic

Computes the subtraction between multiple regions.

All the regions from the second to the last are subtracted from the first one contained in the array.

Parameters
inRegionsArray containing the regions on which the subtraction is computed.
Returns
The subtraction region.

◆ Subtract() [2/2]

Region oevislib_net.Region.Subtract ( Region inRegion1,
Region inRegion2 )
inlinestatic

Computes the difference between the provided regions.

Parameters
inRegion1First region.
inRegion2Second region.
Returns
A new region containing the points of the first region that are not also points of the second one.