CartoType iOS API 8.10-3-g0075538f6
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | Properties | List of all members
CartoTypePerspectiveParam Class Reference

#import <CartoTypeBase.h>

Inheritance diagram for CartoTypePerspectiveParam:

Instance Methods

(CTResult- readFromXml:
 
(NSString *) - toXml
 
(void *) - getPerspectiveParam
 

Properties

CartoTypePoint positionDegrees
 
bool autoPosition
 
double heightMeters
 
double azimuthDegrees
 
bool autoAzimuth
 
double declinationDegrees
 
double rotationDegrees
 
double fieldOfViewDegrees
 

Detailed Description

Parameters giving detailed control of the perspective view.

Method Documentation

◆ getPerspectiveParam

- (void *) getPerspectiveParam

(for internal use) Gets a pointer to the underlying C++ object.

◆ readFromXml:

- (CTResult) readFromXml: (NSString *)  aText

Reads a perspective parameter object from its XML form.

◆ toXml

- (NSString *) toXml

Creates a string representing a perspective parameter object in XML.

Property Documentation

◆ autoAzimuth

- (bool) autoAzimuth
readwritenonatomicassign

If true, ignore iAzimuthDegrees and use the current map orientation.

◆ autoPosition

- (bool) autoPosition
readwritenonatomicassign

If true, ignore iPosition, and set the camera position so that the location in the center of the display is shown.

◆ azimuthDegrees

- (double) azimuthDegrees
readwritenonatomicassign

The azimuth of the camera in degrees going clockwise, where 0 is N, 90 is E, etc.

◆ declinationDegrees

- (double) declinationDegrees
readwritenonatomicassign

The declination of the camera downward from the horizontal plane. Values are clamped to the range -90...90.

◆ fieldOfViewDegrees

- (double) fieldOfViewDegrees
readwritenonatomicassign

The camera's field of view in degrees.

◆ heightMeters

- (double) heightMeters
readwritenonatomicassign

The height of the camera above the terrain. The value 0 causes a default value to be used, which is the width of the display.

◆ positionDegrees

- (CartoTypePoint) positionDegrees
readwritenonatomicassign

The position of the point on the terrain below the camera, in degrees longitude (x) and latitude (y).

◆ rotationDegrees

- (double) rotationDegrees
readwritenonatomicassign

The amount by which the camera is rotated about its axis, after applying the declination, in degrees going clockwise.


The documentation for this class was generated from the following file: