Click or drag to resize

RectangleD2DExpandToInclude(NullableRectangleD2D, NullableRectangleD2D) Method

Gets the rectangular bounding box that includes both rectangles.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static RectangleD2D? ExpandToInclude(
	RectangleD2D? first,
	RectangleD2D? other
)

Parameters

first  NullableRectangleD2D
The first rectangle.
other  NullableRectangleD2D
The other rectangle.

Return Value

NullableRectangleD2D
The rectangular bounding box that includes both rectangles. If only one rectangle is provided, that rectangle is returned. If neither rectangle is provided, the return value is null.
Exceptions
ExceptionCondition
InvalidProgramException
See Also