Click or drag to resize

MapRectangleUnion Method

Overload List
  NameDescription
Public methodUnion(Point)
Updates this rectangle to be the union of this and parameter point. I.e. the rectangle boundaries and the point itself are included in the new boundaries. If point has Double.IsNaN coordinates, the boundaries remain unchanged. If this is empty, the boundaries are adapted to the point's coordinates (width and height will be 0).
Public methodUnion(MapRectangle)
Updates this rectangle to be the union of this and parameter rect. I.e. the rectangle boundaries of this and rect are included in the new boundaries. If rect is empty, the boundaries remain unchanged. If this is empty, the new boundaries are adapted to the rect's boundaries.
Top
See Also