RectangleD2DExpandToInclude(NullableRectangleD2D, NullableRectangleD2D) Method |
Gets the rectangular bounding box that includes both rectangles.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static RectangleD2D? ExpandToInclude(
RectangleD2D? first,
RectangleD2D? other
)
Parameters
- first NullableRectangleD2D
- The first rectangle.
- other NullableRectangleD2D
- The other rectangle.
Return Value
NullableRectangleD2DThe 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 See Also