Click or drag to resize

StreetLinkFence Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Create a GeoFence around the StreetLink upon which the given point lies.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.GeoFenceStreetLinkFence

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

The StreetLinkFence type exposes the following members.

Constructors
  NameDescription
Public methodStreetLinkFence(GeoCodeFull)
Construct a street link fence around the StreetLink that contains a specified address.
Public methodCode exampleStreetLinkFence(LatLon)
Construct a street link fence around the StreetLink where a specified point lies. The constructor is passed a LatLon which should lie on the desired street.
Public methodCode exampleStreetLinkFence(StreetLink)
Construct a street link fence around the StreetLink that contains a specified address.
Top
Properties
  NameDescription
Public propertyBaseWidth
Gets or sets the total width of the dividers and side walks in meters. Defaults to ten meters.
Public propertyBoundingBox
Gets the BoundingBox for this GeoFence.
Public propertyLaneWidth
Gets or sets the width of a single lane in meters. Defaults to five meters.
Public propertyPoints
The points that define the corners of the Street Link Fence.
Public propertyRenderBrush
Brush used to fill the GeoFence, or null for no fill.
Public propertyRenderPen
Pen used to draw the border around the GeoFence, or null for no border.
Public propertyRequiredRendermodes
Gets the RenderMode required by this StreetLinkFence.
Top
Methods
  NameDescription
Public methodContains
Determines whether the specified point is on this street.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRender
Renders this GeoFence. Should not be called directly.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldRenderColor
The color to use when rendering this GeoFence. Default is Blue.
Top
Remarks

A street link GeoFence consists of the borders of the StreetLink, and can be used to test whether a vehicle (or any LatLon point) is inside (traveling on) the street link.

Related articles: Geofences Concept.

See Also