CartoType .NET API 7.8.2, 2022-03-25
for development in C#, Visual Basic and other .NET languages
Public Member Functions | Public Attributes | List of all members
CartoType::PerspectiveParam Class Reference

Parameters giving detailed control of the perspective view. More...

#include <CartoTypeWrapper.h>

Public Member Functions

Result ReadFromXml (String^ aText)
 Reads a perspective parameter object from its XML form.
 
String ^ ToXml ()
 Creates a string representing a perspective parameter object in XML.
 

Public Attributes

double m_position_in_degrees_x = 0
 The longitude of the position of the point on the terrain below the camera, in degrees longitude (x) and latitude (y).
 
double m_position_in_degrees_y = 0
 The latitude of the position of the point on the terrain below the camera, in degrees longitude (x) and latitude (y).
 
bool m_auto_position = true
 If true, ignore m_position_in_degrees_x and m_position_in_degrees_y, and set the camera position so that the location in the center of the display is shown.
 
double m_height_in_meters = 0
 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.
 
double m_azimuth_degrees = 0
 The azimuth of the camera in degrees going clockwise, where 0 is N, 90 is E, etc.
 
bool m_auto_azimuth = true
 If true, ignore m_azimuth_degrees and use the current map orientation.
 
double m_declination_in_degrees = 30
 The declination of the camera downward from the horizontal plane. Values are clamped to the range -90...90.
 
double m_rotation_degrees = 0
 The amount by which the camera is rotated about its axis, after applying the declination, in degrees going clockwise.
 
double m_field_of_view_degrees = 22.5
 The camera's field of view in degrees.
 

Detailed Description

Parameters giving detailed control of the perspective view.


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