BoundingBoxAdd Method (LatLon) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public void Add(
LatLon point
)
Public Sub Add (
point As LatLon
)
Parameters
- point
- Type: Telogis.GeoBaseLatLon
A LatLon point that the box will inflate to contain.
Remarks
By calling this method repeatedly a BoundingBox may be created which contains all
the given points.
If
P1 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.
Examples
BoundingBox bb1 = new BoundingBox();
bb1.Add(new LatLon(33.94, -118.34));
bb1.Add(new LatLon(33.78, -117.95));
See Also