LineString Method (CoordinateSystem, Double, Double, Nullable(Double), Nullable(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, _
z As Nullable(Of Double), _
m As Nullable(Of Double) _
) As GeographyFactory(Of GeographicLineString)
'Usage
Dim coordinateSystem As CoordinateSystem
Dim latitude As Double
Dim longitude As Double
Dim z As Nullable(Of Double)
Dim m As Nullable(Of Double)
Dim returnValue As GeographyFactory(Of GeographicLineString)
returnValue = GeographyFactory.LineString(coordinateSystem, _
latitude, longitude, z, m)
public static GeographyFactory<GeographicLineString> LineString(
CoordinateSystem coordinateSystem,
double latitude,
double longitude,
Nullable<double> z,
Nullable<double> m
)
public:
static GeographyFactory<GeographicLineString^>^ LineString(
CoordinateSystem^ coordinateSystem,
double latitude,
double longitude,
Nullable<double> z,
Nullable<double> m
)
static member LineString :
coordinateSystem:CoordinateSystem *
latitude:float *
longitude:float *
z:Nullable<float> *
m:Nullable<float> -> GeographyFactory<GeographicLineString>
public static function LineString(
coordinateSystem : CoordinateSystem,
latitude : double,
longitude : double,
z : Nullable<double>,
m : Nullable<double>
) : GeographyFactory<GeographicLineString>
Parameters
- coordinateSystem
Type: System.Spatial..::..CoordinateSystem
The coordinate system.
- latitude
Type: System..::..Double
The latitude.
- longitude
Type: System..::..Double
The longitude.
- z
Type: System..::..Nullable< (Of < ( <'Double> ) > ) >
Z
- m
Type: System..::..Nullable< (Of < ( <'Double> ) > ) >
M
Return Value
Type: System.Spatial..::..GeographyFactory< (Of < ( <'GeographicLineString> ) > ) >
A geographic line string factory.