RectangleDUnion(RectangleD, RectangleD, Boolean) Method
Combine both rectangles.
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static RectangleD Union(
RectangleD a,
RectangleD b,
bool IgnorEmptyRectangle
)
Public Shared Function Union (
a As RectangleD,
b As RectangleD,
IgnorEmptyRectangle As Boolean
) As RectangleD
public:
static RectangleD Union(
RectangleD a,
RectangleD b,
bool IgnorEmptyRectangle
)
static member Union :
a : RectangleD *
b : RectangleD *
IgnorEmptyRectangle : bool -> RectangleD
- a RectangleD
- First rectangle
- b RectangleD
- second rectangle
- IgnorEmptyRectangle Boolean
- If one of both rectangles is empty it will be ignored.
RectangleDnew rectangle with unioned values.