Click or drag to resize

BoundingBox Constructor (BoundingBox)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Create a BoundingBox that contains the given BoundingBox.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public BoundingBox(
	BoundingBox other
)

Parameters

other
Type: Telogis.GeoBaseBoundingBox
The BoundingBox that this new BoundingBox should contain.
Remarks
This constructor effectively creates a BoundingBox that is a duplicate of the given BoundingBox.
Examples
C#
// Create an empty BoundingBox
BoundingBox bb1 = new BoundingBox();

// Add locations to enclose, expanding the first BoundingBox
bb1.Add(new LatLon(33.94, -118.34));
bb1.Add(new LatLon(33.78, -117.95));

// Create a second BoundingBox that contains the previous BoundingBox
BoundingBox bb2 = new BoundingBox(bb1);
See Also