LineString Method (CoordinateSystem, Double, Double)
Creates a geographic line string with a starting position.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Shared Function LineString ( _
coordinateSystem As CoordinateSystem, _
latitude As Double, _
longitude As Double _
) As GeographyFactory(Of GeographicLineString)
'Usage
Dim coordinateSystem As CoordinateSystem
Dim latitude As Double
Dim longitude As Double
Dim returnValue As GeographyFactory(Of GeographicLineString)
returnValue = GeographyFactory.LineString(coordinateSystem, _
latitude, longitude)
public static GeographyFactory<GeographicLineString> LineString(
CoordinateSystem coordinateSystem,
double latitude,
double longitude
)
public:
static GeographyFactory<GeographicLineString^>^ LineString(
CoordinateSystem^ coordinateSystem,
double latitude,
double longitude
)
static member LineString :
coordinateSystem:CoordinateSystem *
latitude:float *
longitude:float -> GeographyFactory<GeographicLineString>
public static function LineString(
coordinateSystem : CoordinateSystem,
latitude : double,
longitude : double
) : GeographyFactory<GeographicLineString>
Parameters
- coordinateSystem
Type: System.Spatial..::..CoordinateSystem
The coordinate system.
- latitude
Type: System..::..Double
The latitude.
- longitude
Type: System..::..Double
The longitude.
Return Value
Type: System.Spatial..::..GeographyFactory< (Of < ( <'GeographicLineString> ) > ) >
A geographic line string factory.