BoundingBoxInflateBy Method |  |
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.99.0.0
Syntaxpublic void InflateBy(
double amount
)
Public Sub InflateBy (
amount As Double
)
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.
ExamplesBoundingBox bb1 = new BoundingBox();
bb1.Add(new LatLon(33.94, -118.34));
bb1.Add(new LatLon(33.78, -117.95));
bb1.InflateBy(3);
renderList.Add(bb1);
See Also