Click or drag to resize

IRouteCreateConstraint Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Generate a new constraint for this route.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
void CreateConstraint(
	ulong fromLink,
	ulong[] linkids,
	int length,
	LatLon startLoc,
	LatLon firstInterLoc,
	LatLon endLoc
)

Parameters

fromLink
Type: SystemUInt64
The link ID for the starting link.
linkids
Type: SystemUInt64
The link ID's for any additional street links (after the first) that the constraint applies to. This is empty for constraints that apply to a single street link.
length
Type: SystemInt32
The number of street links the constraint applies to.
startLoc
Type: Telogis.GeoBaseLatLon
The starting location.
firstInterLoc
Type: Telogis.GeoBaseLatLon
The location of the first intersection.
endLoc
Type: Telogis.GeoBaseLatLon
The end location. This is only needed if the constraint spans multiple links.
Remarks

This method can not be used with a GeoStreamRepository.

See Also