Click or drag to resize

BoundingBoxInflateBy Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Multiply the BoundingBox dimensions by the given amount.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public void InflateBy(
	double amount
)

Parameters

amount
Type: SystemDouble
Size to inflate the box by. This is specified as an amount relative to the current box size. For example, an amount of 1 would keep the edges of the box the same size, while an amount of 2 would double the size of each edge of the box.
Examples
C#
BoundingBox bb1 = new BoundingBox();
// Add arbitrary points in Los Angeles, USA.
bb1.Add(new LatLon(33.94, -118.34));
bb1.Add(new LatLon(33.78, -117.95));
// Triple the size of the BoundingBox.
bb1.InflateBy(3);
renderList.Add(bb1);
See Also