Click or drag to resize

PolygonFence Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The PolygonFence type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add the specified point to this PolygonFence.
Public methodClear
Clears all points stored in this PolygonFence and clears the BoundingBox.
Public methodContains
Determine whether the specified point falls inside this PolygonFence.
Public methodCopyTo
Copy the array of points (of which this GeoFence is comprised) to a given array.
Public methodStatic memberCreateFromStreetLinks
Creates a GeoFence collection containing the street links provided.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Get an enumerator for iteration through the points describing the PolygonFence.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
For serialization of the PolygonFence.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches the points that make up this GeoFence and returns the index of the point.
Public methodInsert
Inserts a new point to the GeoFence, at the specified index.
Public methodRecalculateBoundingBox
After points have been removed from a PolygonFence, the Bounding Box may be larger than is required to encompass the remaining points. This function recalculates a minimal bounding box that encompasses all the remaining points.
Public methodRemove
Removes a point from the GeoFence.
Public methodRemoveAt
Removes a point from a given index of the GeoFence.
Public methodRender
Renders this PolygonFence on the given IMap.
Public methodSnapToStreets
Create a new PolygonFence that includes only those streets that lie entirely within the area of this fence.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also