← Back to carmenta.com
Carmenta Engine SDK Documentation
×

DynamicLocalProjection Class

Represents a map projection that can be modified dynamically, intended for local areas.

Namespace: Carmenta.Engine
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Thread safety: Members defined in this class are thread-safe. Show

Syntax

C#
public class DynamicLocalProjection : Projection

Remarks

Deprecation warning

This type has been deprecated, and may be removed in future a version.

This projection is an old-fashioned way to construct a moving map that follows a vehicle or aircraft. It is recommended to use the View.Rotation property and a TileLayer instead.

However, the DynamicLocalProjection is an alternative, since its center point and up direction can be modified after creation. It can be used for a View.Crs (which preferably should have the same GeodeticDatum as the presented features). To pan and rotate the view, the application can call the Set method of the projection instance, with the new center point and up direction. (To implement zooming, you would set the View.Width or View.Scale as usual.)

The map projection method is the same as an EquidistantCylindricalProjection with rotation. This projection method is efficient but not very good for larger areas, except near the equator.

Inheritance Hierarchy

System.Object (not available in C#)
  EngineObject
    ResourceObject
      Projection
        DynamicLocalProjection

Platforms

Windows, Linux, Android

See Also

Reference

Core Module

DynamicLocalProjection Members

The DynamicLocalProjection type has the following members.

Constructors

NameDescription
DynamicLocalProjectionInitializes a new instance of the DynamicLocalProjection class from center and up direction.

Properties

NameDescription
AuthorityGets the name of an authority, which is often "epsg". Inherited from Projection
AuthorityCodeGets the unique code for the projection instance, according to the Authority, for example "19883". Inherited from Projection
CentralLatitudeGets the central latitude.
CentralLongitudeGets the central longitude.
IsDisposedGets a value that tells whether the current DynamicLocalProjection has been disposed. Inherited from EngineObject
LengthUnitGets the length unit.
Static LongLatGets a pre-defined LongLatProjection instance. Inherited from Projection
NameGets or sets the name of the DynamicLocalProjection. Inherited from ResourceObject
NativeHandleGets the native Carmenta Engine kernel object the current DynamicLocalProjection represents. Inherited from EngineObject
UpGets the up direction.
IUserProperties.UserPropertiesGets the AttributeSet that contains the user properties. Inherited from IUserProperties

Methods

NameDescription
CloneCreates a copy of an object. Inherited from EngineObject
DisposeReleases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject
EqualsDetermines whether this instance is equal to another. Inherited from EngineObject
SetModifies the central longitude and latitude, and the up direction.
Static UtmReturns one of the 120 predefined instances of Universal Transverse Mercator. Inherited from Projection

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept