Click or drag to resize

GeoFenceCollection Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A collection of one or more IGeoFences.
Inheritance Hierarchy
SystemObject
  System.CollectionsArrayList
    Telogis.GeoBase.GeoFenceGeoFenceCollection

Namespace:  Telogis.GeoBase.GeoFence
Assembly:  geobase.net (in geobase.net.dll) Version: 4.83.0.0
Syntax
public class GeoFenceCollection : ArrayList, 
	IMapRenderer, IGeoFence

The GeoFenceCollection type exposes the following members.

Constructors
  NameDescription
Public methodGeoFenceCollection
Creates a GeoFence collection.
Top
Properties
  NameDescription
Public propertyBoundingBox
Return a BoundingBox containing all the fences in the collection.
Public propertyCapacity (Inherited from ArrayList.)
Public propertyCount (Inherited from ArrayList.)
Public propertyIsFixedSize (Inherited from ArrayList.)
Public propertyIsReadOnly (Inherited from ArrayList.)
Public propertyIsSynchronized (Inherited from ArrayList.)
Public propertyItem (Inherited from ArrayList.)
Public propertyRenderBrush
Gets the Brush for the collection object, and sets the Brush for each GeoFence in the collection, as well as for the collection object.
Public propertyRenderPen
Gets the Pen for the collection object, and sets the Pen for each GeoFence in the collection, as well as for the collection object.
Public propertyRequiredRendermodes
Gets the RenderMode required by this GeoFenceCollection.
Public propertySyncRoot (Inherited from ArrayList.)
Top
Methods
  NameDescription
Public methodAdd
Add a new IGeoFence to this collection
(Overrides ArrayListAdd(Object).)
Public methodAddRange (Inherited from ArrayList.)
Public methodBinarySearch(Object) (Inherited from ArrayList.)
Public methodBinarySearch(Object, IComparer) (Inherited from ArrayList.)
Public methodBinarySearch(Int32, Int32, Object, IComparer) (Inherited from ArrayList.)
Public methodClear (Inherited from ArrayList.)
Public methodClone (Inherited from ArrayList.)
Public methodContains(Object) (Inherited from ArrayList.)
Public methodContains(LatLon)
Determine whether the given LatLon lies within the borders of a GeoFence in this collection.
Public methodCopyTo(Array) (Inherited from ArrayList.)
Public methodCopyTo(Array, Int32) (Inherited from ArrayList.)
Public methodCopyTo(Int32, Array, Int32, Int32) (Inherited from ArrayList.)
Public methodEquals (Inherited from Object.)
Public methodGetEnumerator (Inherited from ArrayList.)
Public methodGetEnumerator(Int32, Int32) (Inherited from ArrayList.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRange (Inherited from ArrayList.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(Object) (Inherited from ArrayList.)
Public methodIndexOf(Object, Int32) (Inherited from ArrayList.)
Public methodIndexOf(Object, Int32, Int32) (Inherited from ArrayList.)
Public methodInsert (Inherited from ArrayList.)
Public methodInsertRange (Inherited from ArrayList.)
Public methodLastIndexOf(Object) (Inherited from ArrayList.)
Public methodLastIndexOf(Object, Int32) (Inherited from ArrayList.)
Public methodLastIndexOf(Object, Int32, Int32) (Inherited from ArrayList.)
Public methodLookUp(BoundingBox)
Find all GeoFences that intersect with the specified BoundingBox.
Public methodLookUp(LatLon)
Find all GeoFences that contain the specified point.
Public methodMembersUpdated
Must be called after members are added, deleted or updated.
Public methodRemove (Inherited from ArrayList.)
Public methodRemoveAt (Inherited from ArrayList.)
Public methodRemoveRange (Inherited from ArrayList.)
Public methodRender
Render all the IGeoFences that implement IMapRenderer.
Public methodReverse (Inherited from ArrayList.)
Public methodReverse(Int32, Int32) (Inherited from ArrayList.)
Public methodSetRange (Inherited from ArrayList.)
Public methodSort (Inherited from ArrayList.)
Public methodSort(IComparer) (Inherited from ArrayList.)
Public methodSort(Int32, Int32, IComparer) (Inherited from ArrayList.)
Public methodToArray (Inherited from ArrayList.)
Public methodToArray(Type) (Inherited from ArrayList.)
Public methodToString (Inherited from Object.)
Public methodTrimToSize (Inherited from ArrayList.)
Top
Remarks
Implements an indexed collection of GeoFences. When a change to a GeoFence causes its BoundingBox to change, the MembersUpdated method should be called.

Related articles: Geofences Concept, Avoiding a Given Area.

See Also