KmlLinearRing Class

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps.Kml.Geometry
Assembly Skybrud.Essentials.Maps.dll
Visibility Public
Inheritance

Defines a closed line string, typically the outer boundary of a polygon. Optionally, a <LinearRing> can also be used as the inner boundary of a polygon to create holes in the polygon. A oolygon can contain multiple <LinearRing> elements used as inner boundaries.

public class KmlLinearRing : KmlGeometry { }

Properties

Type Name Summary
bool Extrude

Specifies whether to connect the KmlLinearRing to the ground. To extrude this geometry, the altitude mode must be either RelativeToGround or Absolute. Only the vertices of the KmlLinearRing are extruded, not the center of the geometry. The vertices are extruded toward the center of the Earth's sphere.

bool Tesselate

Specifies whether to allow the KmlLinearRing to follow the terrain. To enable tessellation, the value for KmlLinearRing.AltitudeMode must be ClampToGround. Very large linear rings should enable tessellation so that they follow the curvature of the earth (otherwise, they may go underground and be hidden).

KmlAltitudeMode AltitudeMode

Specifies how altitude components in the element are interpreted.

KmlLinearRingCoordinates Coordinates

Four or more tuples, each consisting of floating point values for longitude, latitude, and altitude. The altitude component is optional.

The last coordinate must be the same as the first coordinate. Coordinates are expressed in decimal degrees only.

String Id (inherited from KmlGeometry)