BoundingBoxInflate Method (Double, Double) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Makes each side of the
BoundingBox bigger or smaller by the given number of degrees.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public void Inflate(
double xDegrees,
double yDegrees
)
Public Sub Inflate (
xDegrees As Double,
yDegrees As Double
)
Parameters
- xDegrees
- Type: SystemDouble
The number of degrees by which the width should change.
The sign of this parameter determines whether the bounding box shrinks or grows. A
positive degrees value causes the box to inflate, a negative
value causes the box to deflate. - yDegrees
- Type: SystemDouble
The number of degrees by which the height should change.
The sign of this parameter determines whether the box shrinks or grows. A
positive degrees value causes the box to inflate, a negative
value causes the box to deflate.
Examples BoundingBox bb1 = new BoundingBox();
bb1.Add(new LatLon(33.94, -118.34));
bb1.Add(new LatLon(33.78, -117.95));
bb1.Inflate(2,4);
renderList.Add(bb1);
See Also