BinaryImageBitwiseAnd Operator

Implements the operator &. The intersection of two images is the image where a cell is filled in if and only if both 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 intersection of the two images.

Example

 
#####       ###..        ###..
##.##       ..#..        .....
##..#   &   .###.   ==   .#...
#...#       #####        #...#
##..#       .....        .....

See Also