RectangleDUnion(RectangleD, RectangleD, Boolean) Method

Combine both rectangles.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static RectangleD Union(
	RectangleD a,
	RectangleD b,
	bool IgnorEmptyRectangle
)

Parameters

a  RectangleD
First rectangle
b  RectangleD
second rectangle
IgnorEmptyRectangle  Boolean
If one of both rectangles is empty it will be ignored.

Return Value

RectangleD
new rectangle with unioned values.

See Also