Show / Hide Table of Contents

Class GeoLineString

Handling of a geographical linestring defined by a series of GeoCoordinateElevation points

Inheritance
System.Object
GeoMapElement
GeoLineString
Implements
IGeoMapElement
Inherited Members
GeoMapElement.UniqueId
GeoMapElement.Color
GeoMapElement.Thickness
GeoMapElement.Name
GeoMapElement.Description
GeoMapElement.DataList
GeoMapElement.AddDataList(String, String)
GeoMapElement.AssignProperties(MapObjectProperties)
GeoMapElement.Draw()
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class GeoLineString : GeoMapElement, IGeoMapElement

Constructors

View Source

GeoLineString(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

View Source

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 Source

Coordinates

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 Source

AsGmlPosList(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

Implements

IGeoMapElement
  • View Source
In This Article
  • Constructors
    • GeoLineString(GeoCoordinateElevationCollection)
    • GeoLineString(List<GeoCoordinateBasic>)
  • Properties
    • Coordinates
  • Methods
    • AsGmlPosList(GmlDimension, IFormatProvider)
  • Implements
Back to top Copyright 2018-2024 CADology Limited