Print this page
BoundingBoxAdd Method (LatLon)
Learn more about Verizon Connect GeoBase.
Get information about the latest release
geobase.net (in geobase.net.dll) Version: 126.96.36.199
public void Add(
Public Sub Add (
point As LatLon
- Type: Telogis.GeoBaseLatLon
A LatLon point that the box will inflate to contain.
By calling this method repeatedly a BoundingBox may be created which contains all
the given points.
is null (possibly because the default constructor
was used) the first call to this method will set both P1 and P2
to the same value, resulting in a BoundingBox with no area. If Add is
called again with the desired P2 value then the BoundingBox will expand.
BoundingBox bb1 = new BoundingBox();
bb1.Add(new LatLon(33.94, -118.34));
bb1.Add(new LatLon(33.78, -117.95));