Click or drag to resize

LineString Constructor (LatLon)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Creates a LineString from the given points.

Namespace:  Telogis.GeoBase.Geometry
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public LineString(
	params LatLon[] points
)

Parameters

points
Type: Telogis.GeoBaseLatLon
Points to be used for the LineString. These points will not be copied.
Examples
C#
// Create a LineString from an array of LatLon points
Telogis.GeoBase.Geometry.LineString newLineFromArray = new Telogis.GeoBase.Geometry.LineString(
    new Telogis.GeoBase.LatLon[] {
        new Telogis.GeoBase.LatLon(33.678360,-117.917855),
        new Telogis.GeoBase.LatLon(33.657180,-117.875393),
        new Telogis.GeoBase.LatLon(33.640147,-117.917845)}
);
See Also