Class GeoLineString
Handling of a geographical linestring defined by a series of GeoCoordinateElevation points
Implements
Inherited Members
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class GeoLineString : GeoMapElement, IGeoMapElement
Constructors
View SourceGeoLineString(GeoCoordinateElevationCollection)
Construct a GeoPolygon with a list of GeoCoordinateElevation values GeoCoordinateElevation
Declaration
public GeoLineString(GeoCoordinateElevationCollection coordinates)
Parameters
Type | Name | Description |
---|---|---|
GeoCoordinateElevationCollection | coordinates | List of coordinates with elevations to use |
GeoLineString(List<GeoCoordinateBasic>)
Construct a GeoPolygon with a list of GeoCoordinateBasic values GeoCoordinateBasic
Declaration
public GeoLineString(List<GeoCoordinateBasic> coordinates)
Parameters
Type | Name | Description |
---|---|---|
List<GeoCoordinateBasic> | coordinates | List of coordinates with elevations to use |
Properties
View SourceCoordinates
Contains a list of the coordinates (with elevation) that define a polygon boundary
Declaration
public GeoCoordinateElevationCollection Coordinates { get; }
Property Value
Type | Description |
---|---|
GeoCoordinateElevationCollection | List of coordinate with elevationsGeoCoordinateElevation |
Methods
View SourceAsGmlPosList(GmlDimension, IFormatProvider)
Creates a value for GML posList element
Declaration
public string AsGmlPosList(GmlDimension gmlDimension, IFormatProvider provider)
Parameters
Type | Name | Description |
---|---|---|
GmlDimension | gmlDimension | Determine if the GML output is required to be 2D or 3D coordinate values |
IFormatProvider | provider | Globalization culture to be applied to numbers |
Returns
Type | Description |
---|---|
System.String | String of the GML PosList element value |
Remarks
As Z value will be converted to Metres