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