C# 클래스 SharpMap.CoordinateSystems.Projections.MapProjection

Projections inherit from this abstract class to get access to useful mathematical functions.
상속: SharpMap.CoordinateSystems.Transformations.MathTransform, IProjection
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_Parameters List
_e double
_es double
_inverse SharpMap.CoordinateSystems.Transformations.MathTransform
_isInverse bool
_isSpherical bool
_semiMajor double
_semiMinor double

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
DegreesToMeters ( SharpMap lonlat ) : SharpMap.Geometries.Point
EqualParams ( object obj ) : bool

Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.

GetParameter ( int Index ) : ProjectionParameter
GetParameter ( string name ) : ProjectionParameter

Gets an named parameter of the projection.

The parameter name is case insensitive

Invert ( ) : void

Reverses the transformation

MetersToDegrees ( SharpMap p ) : SharpMap.Geometries.Point
Transform ( SharpMap cp ) : SharpMap.Geometries.Point
TransformList ( List ord ) : List

보호된 메소드들

메소드 설명
CUBE ( double x ) : double

Returns the cube of a number.

GMAX ( double &A, double &B ) : double

GMIN ( double &A, double &B ) : double

IMOD ( double A, double B ) : double

IMOD

LatitudeToRadians ( double y, bool edge ) : double

Converts a latitude value in degrees to radians.

LongitudeToRadians ( double x, bool edge ) : double

Converts a longitude value in degrees to radians.

MapProjection ( List parameters ) : System
MapProjection ( List parameters, bool isInverse ) : System
QUAD ( double x ) : double

Returns the quad of a number.

adjust_lon ( double x ) : double

asinz ( double con ) : double

Function to eliminate roundoff errors in asin

calc_utm_zone ( double lon ) : long

Function to calculate UTM zone number--NOTE Longitude entered in DEGREES!!!

e0fn ( double x ) : double

Functions to compute the constants e0, e1, e2, and e3 which are used in a series for calculating the distance along a meridian. The input x represents the eccentricity squared.

e1fn ( double x ) : double

e2fn ( double x ) : double

e3fn ( double x ) : double

e4fn ( double x ) : double

Function to compute the constant e4 from the input of the eccentricity of the spheroid, x. This constant is used in the Polar Stereographic projection.

mlfn ( double e0, double e1, double e2, double e3, double phi ) : double

Function computes the value of M which is the distance along a meridian from the Equator to latitude phi.

msfnz ( double eccent, double sinphi, double cosphi ) : double

Function to compute the constant small m which is the radius of a parallel of latitude, phi, divided by the semimajor axis.

phi1z ( double eccent, double qs, long &flag ) : double

phi2z ( double eccent, double ts, long &flag ) : double

Function to compute the latitude angle, phi2, for the inverse of the Lambert Conformal Conic and Polar Stereographic projections.

qsfnz ( double eccent, double sinphi, double cosphi ) : double

Function to compute constant small q which is the radius of a parallel of latitude, phi, divided by the semimajor axis.

sign ( double x ) : double

Function to return the sign of an argument

sincos ( double val, double &sin_val, double &cos_val ) : void

Function to calculate the sine and cosine in one call. Some computer systems have implemented this function, resulting in a faster implementation than calling each function separately. It is provided here for those computer systems which don`t implement this function

tsfnz ( double eccent, double phi, double sinphi ) : double

Function to compute the constant small t for use in the forward computations in the Lambert Conformal Conic and the Polar Stereographic projections.

메소드 상세

CUBE() 보호된 정적인 메소드

Returns the cube of a number.
protected static CUBE ( double x ) : double
x double
리턴 double

DegreesToMeters() 공개 추상적인 메소드

public abstract DegreesToMeters ( SharpMap lonlat ) : SharpMap.Geometries.Point
lonlat SharpMap
리턴 SharpMap.Geometries.Point

EqualParams() 공개 메소드

Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.
public EqualParams ( object obj ) : bool
obj object
리턴 bool

GMAX() 보호된 정적인 메소드

protected static GMAX ( double &A, double &B ) : double
A double
B double
리턴 double

GMIN() 보호된 정적인 메소드

protected static GMIN ( double &A, double &B ) : double
A double
B double
리턴 double

GetParameter() 공개 메소드

public GetParameter ( int Index ) : ProjectionParameter
Index int
리턴 SharpMap.CoordinateSystems.ProjectionParameter

GetParameter() 공개 메소드

Gets an named parameter of the projection.
The parameter name is case insensitive
public GetParameter ( string name ) : ProjectionParameter
name string Name of parameter
리턴 SharpMap.CoordinateSystems.ProjectionParameter

IMOD() 보호된 정적인 메소드

IMOD
protected static IMOD ( double A, double B ) : double
A double
B double
리턴 double

Invert() 공개 메소드

Reverses the transformation
public Invert ( ) : void
리턴 void

LatitudeToRadians() 보호된 정적인 메소드

Converts a latitude value in degrees to radians.
protected static LatitudeToRadians ( double y, bool edge ) : double
y double The value in degrees to to radians.
edge bool If true, -90 and +90 are valid, otherwise they are considered out of range.
리턴 double

LongitudeToRadians() 보호된 정적인 메소드

Converts a longitude value in degrees to radians.
protected static LongitudeToRadians ( double x, bool edge ) : double
x double The value in degrees to convert to radians.
edge bool If true, -180 and +180 are valid, otherwise they are considered out of range.
리턴 double

MapProjection() 보호된 메소드

protected MapProjection ( List parameters ) : System
parameters List
리턴 System

MapProjection() 보호된 메소드

protected MapProjection ( List parameters, bool isInverse ) : System
parameters List
isInverse bool
리턴 System

MetersToDegrees() 공개 추상적인 메소드

public abstract MetersToDegrees ( SharpMap p ) : SharpMap.Geometries.Point
p SharpMap
리턴 SharpMap.Geometries.Point

QUAD() 보호된 정적인 메소드

Returns the quad of a number.
protected static QUAD ( double x ) : double
x double
리턴 double

Transform() 공개 메소드

public Transform ( SharpMap cp ) : SharpMap.Geometries.Point
cp SharpMap
리턴 SharpMap.Geometries.Point

TransformList() 공개 메소드

public TransformList ( List ord ) : List
ord List
리턴 List

adjust_lon() 보호된 정적인 메소드

protected static adjust_lon ( double x ) : double
x double
리턴 double

asinz() 보호된 정적인 메소드

Function to eliminate roundoff errors in asin
protected static asinz ( double con ) : double
con double
리턴 double

calc_utm_zone() 보호된 정적인 메소드

Function to calculate UTM zone number--NOTE Longitude entered in DEGREES!!!
protected static calc_utm_zone ( double lon ) : long
lon double
리턴 long

e0fn() 보호된 정적인 메소드

Functions to compute the constants e0, e1, e2, and e3 which are used in a series for calculating the distance along a meridian. The input x represents the eccentricity squared.
protected static e0fn ( double x ) : double
x double
리턴 double

e1fn() 보호된 정적인 메소드

protected static e1fn ( double x ) : double
x double
리턴 double

e2fn() 보호된 정적인 메소드

protected static e2fn ( double x ) : double
x double
리턴 double

e3fn() 보호된 정적인 메소드

protected static e3fn ( double x ) : double
x double
리턴 double

e4fn() 보호된 정적인 메소드

Function to compute the constant e4 from the input of the eccentricity of the spheroid, x. This constant is used in the Polar Stereographic projection.
protected static e4fn ( double x ) : double
x double
리턴 double

mlfn() 보호된 정적인 메소드

Function computes the value of M which is the distance along a meridian from the Equator to latitude phi.
protected static mlfn ( double e0, double e1, double e2, double e3, double phi ) : double
e0 double
e1 double
e2 double
e3 double
phi double
리턴 double

msfnz() 보호된 정적인 메소드

Function to compute the constant small m which is the radius of a parallel of latitude, phi, divided by the semimajor axis.
protected static msfnz ( double eccent, double sinphi, double cosphi ) : double
eccent double
sinphi double
cosphi double
리턴 double

phi1z() 보호된 정적인 메소드

protected static phi1z ( double eccent, double qs, long &flag ) : double
eccent double
qs double
flag long
리턴 double

phi2z() 보호된 정적인 메소드

Function to compute the latitude angle, phi2, for the inverse of the Lambert Conformal Conic and Polar Stereographic projections.
protected static phi2z ( double eccent, double ts, long &flag ) : double
eccent double
ts double
flag long
리턴 double

qsfnz() 보호된 정적인 메소드

Function to compute constant small q which is the radius of a parallel of latitude, phi, divided by the semimajor axis.
protected static qsfnz ( double eccent, double sinphi, double cosphi ) : double
eccent double
sinphi double
cosphi double
리턴 double

sign() 보호된 정적인 메소드

Function to return the sign of an argument
protected static sign ( double x ) : double
x double
리턴 double

sincos() 보호된 정적인 메소드

Function to calculate the sine and cosine in one call. Some computer systems have implemented this function, resulting in a faster implementation than calling each function separately. It is provided here for those computer systems which don`t implement this function
protected static sincos ( double val, double &sin_val, double &cos_val ) : void
val double
sin_val double
cos_val double
리턴 void

tsfnz() 보호된 정적인 메소드

Function to compute the constant small t for use in the forward computations in the Lambert Conformal Conic and the Polar Stereographic projections.
protected static tsfnz ( double eccent, double phi, double sinphi ) : double
eccent double
phi double
sinphi double
리턴 double

프로퍼티 상세

_Parameters 보호되어 있는 프로퍼티

protected List _Parameters
리턴 List

_e 보호되어 있는 프로퍼티

protected double _e
리턴 double

_es 보호되어 있는 프로퍼티

protected double _es
리턴 double

_inverse 보호되어 있는 프로퍼티

protected MathTransform,SharpMap.CoordinateSystems.Transformations _inverse
리턴 SharpMap.CoordinateSystems.Transformations.MathTransform

_isInverse 보호되어 있는 프로퍼티

protected bool _isInverse
리턴 bool

_isSpherical 보호되어 있는 프로퍼티

protected bool _isSpherical
리턴 bool

_semiMajor 보호되어 있는 프로퍼티

protected double _semiMajor
리턴 double

_semiMinor 보호되어 있는 프로퍼티

protected double _semiMinor
리턴 double