C# 클래스 fivenine.UnifiedMaps.MapRegion

Defines a map region.
파일 보기 프로젝트 열기: fiveninedigital/UnifiedMaps 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : MapRegion

Makes a copy of the current instance.

Contains ( Position position ) : bool
Empty ( ) : MapRegion

Returns an empty map region.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

FromPositions ( IEnumerable positions ) : MapRegion

Creates a new map region that includes the specified positons.

Include ( Position item ) : void
Inflate ( float height, float width ) : MapRegion

Inflates the current region with the given dimensions.

MapRegion ( Position topLeft, Position bottomRight ) : System

Discribes a rectangular region. This region usually encloses a set of geometries or represents a area of view.

MapRegion ( Position center, double width, double height ) : System

Discribes a rectangular region. This region usually encloses a set of geometries or represents a area of view.

MapRegion ( double minX, double maxY, double maxX, double minY ) : System

Discribes a rectangular region. This region usually encloses a set of geometries or represents a area of view.

ToString ( ) : string

Returns a string that represents the current object.

World ( ) : MapRegion

Creates a map region that includes the whole world.

보호된 메소드들

메소드 설명
Equals ( MapRegion other ) : bool

Determines whether the specified MapRegion is equal to the current.

비공개 메소드들

메소드 설명
ClampHeight ( double height ) : double
ClampWidth ( double width ) : double
GetHashCode ( ) : int
RecalculateDimensionsAndCenter ( ) : void

메소드 상세

Clone() 공개 메소드

Makes a copy of the current instance.
public Clone ( ) : MapRegion
리턴 MapRegion

Contains() 공개 메소드

public Contains ( Position position ) : bool
position Position
리턴 bool

Empty() 공개 정적인 메소드

Returns an empty map region.
public static Empty ( ) : MapRegion
리턴 MapRegion

Equals() 보호된 메소드

Determines whether the specified MapRegion is equal to the current.
protected Equals ( MapRegion other ) : bool
other MapRegion The object to compare with the current object.
리턴 bool

Equals() 공개 메소드

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
리턴 bool

FromPositions() 공개 정적인 메소드

Creates a new map region that includes the specified positons.
public static FromPositions ( IEnumerable positions ) : MapRegion
positions IEnumerable The positions.
리턴 MapRegion

Include() 공개 메소드

public Include ( Position item ) : void
item Position
리턴 void

Inflate() 공개 메소드

Inflates the current region with the given dimensions.
public Inflate ( float height, float width ) : MapRegion
height float The height.
width float The width.
리턴 MapRegion

MapRegion() 공개 메소드

Discribes a rectangular region. This region usually encloses a set of geometries or represents a area of view.
public MapRegion ( Position topLeft, Position bottomRight ) : System
topLeft Position The top left coordinates of the bounding box.
bottomRight Position The bottom right coordinate of the bounding box.
리턴 System

MapRegion() 공개 메소드

Discribes a rectangular region. This region usually encloses a set of geometries or represents a area of view.
public MapRegion ( Position center, double width, double height ) : System
center Position Center of the bounding box
width double Width of bounding box in degress
height double Height of bounding box in degress
리턴 System

MapRegion() 공개 메소드

Discribes a rectangular region. This region usually encloses a set of geometries or represents a area of view.
public MapRegion ( double minX, double maxY, double maxX, double minY ) : System
minX double Mininium X value (longitude), left most coordinate.
maxY double Maximium Y value (laitude), northern most coordinate.
maxX double Maximium X value (longitude), right most coordinate.
minY double Minimium Y value (latitude), southern most coordinate.
리턴 System

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string

World() 공개 정적인 메소드

Creates a map region that includes the whole world.
public static World ( ) : MapRegion
리턴 MapRegion