BinaryImageBitwiseOr Operator

Implements the operator |. The union of two images is the image where a cell is filled in if and only if at least one of the images have the cell filled in.

Definition

Namespace: ProjectLCore.GamePieces
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public static BinaryImage operator |(
	BinaryImage left,
	BinaryImage right
)

Parameters

left  BinaryImage
The operator on the left.
right  BinaryImage
The operator on the right.

Return Value

BinaryImage
The union of the two images.

Example

 
#####       ###..        #####
##.##       ..#..        #####
##..#   |   .....   ==   ##..#
#...#       ###..        ###.#
##..#       .....        ##..#

See Also