Class LineExtensionMethods
Inherited Members
Namespace: Virgis
Assembly: cs.temp.dll.dll
Syntax
public static class LineExtensionMethods
Methods
Point(LineString, Int32)
Converts LineString Vertex i to a Position
Declaration
public static Position Point(this LineString line, int i)
Parameters
| Type | Name | Description |
|---|---|---|
| LineString | line | LineString |
| Int32 | i | vertex index |
Returns
| Type | Description |
|---|---|
| Position | Position |
Points(LineString)
Converts LineString to Position[]
Declaration
public static Position[] Points(this LineString line)
Parameters
| Type | Name | Description |
|---|---|---|
| LineString | line | LineString |
Returns
| Type | Description |
|---|---|
| Position[] | Position[] |
Vector3(LineString)
Converts LineString to Vector3[] in world space taking account of zoom, scale and map scale
Declaration
public static Vector3[] Vector3(this LineString line)
Parameters
| Type | Name | Description |
|---|---|---|
| LineString | line | LineString |
Returns
| Type | Description |
|---|---|
| Vector3[] | Vector3[] World Space Locations |