C# 클래스 SobekCM.Core.BriefItem.BriefItem_Coordinate_Polygon

파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add_Edge_Point ( double Latitude, double Longitude ) : BriefItem_Coordinate_Point

Add a new edge point of interest to this polygon

Add_Edge_Point ( double Latitude, double Longitude, string Label ) : BriefItem_Coordinate_Point

Add a new edge point of interest to this polygon

Add_Edge_Point ( BriefItem_Coordinate_Point newPoint ) : void

Add a new edge point of interest to this polygon

Add_Inner_Point ( double Latitude, double Longitude ) : BriefItem_Coordinate_Point

Add a new inner point of interest to this polygon

Add_Inner_Point ( double Latitude, double Longitude, string Label ) : BriefItem_Coordinate_Point

Add a new inner point of interest to this polygon

Add_Inner_Point ( BriefItem_Coordinate_Point newPoint ) : void

Add a new inner point of interest to this polygon

BriefItem_Coordinate_Polygon ( ) : System

Constructor for a new instance of this BriefItem_Coordinate_Polygon class

Clear_Edge_Points ( ) : void

Clears all the edge points in thie polygon

Recalculate_Bounding_Box ( ) : ReadOnlyCollection

Forces a recalculation of the bounding box for this area and returns the new bounding box

Generally, this routing does not need to be called since just adding new edge points to this polygon forces a recalculation of the bounding box the next time it is requested

is_In_Bounding_Box ( double Latitude, double Longitude ) : bool

Checks to see if a point is in the bounding box defined by this polygon

is_In_Bounding_Box ( double Rect_Latitude_A, double Rect_Longitude_A, double Rect_Latitude_B, double Rect_Longitude_B ) : bool

Checks to see if a rectangle overlaps the bounding box defined by this polygon

메소드 상세

Add_Edge_Point() 공개 메소드

Add a new edge point of interest to this polygon
public Add_Edge_Point ( double Latitude, double Longitude ) : BriefItem_Coordinate_Point
Latitude double Latitude (expressed in decimal notation) for this point
Longitude double Longitude (expressed in decimal notation) for this point
리턴 BriefItem_Coordinate_Point

Add_Edge_Point() 공개 메소드

Add a new edge point of interest to this polygon
public Add_Edge_Point ( double Latitude, double Longitude, string Label ) : BriefItem_Coordinate_Point
Latitude double Latitude (expressed in decimal notation) for this point
Longitude double Longitude (expressed in decimal notation) for this point
Label string Label to associate with this point
리턴 BriefItem_Coordinate_Point

Add_Edge_Point() 공개 메소드

Add a new edge point of interest to this polygon
public Add_Edge_Point ( BriefItem_Coordinate_Point newPoint ) : void
newPoint BriefItem_Coordinate_Point Built coordinate point object to add
리턴 void

Add_Inner_Point() 공개 메소드

Add a new inner point of interest to this polygon
public Add_Inner_Point ( double Latitude, double Longitude ) : BriefItem_Coordinate_Point
Latitude double Latitude (expressed in decimal notation) for this point
Longitude double Longitude (expressed in decimal notation) for this point
리턴 BriefItem_Coordinate_Point

Add_Inner_Point() 공개 메소드

Add a new inner point of interest to this polygon
public Add_Inner_Point ( double Latitude, double Longitude, string Label ) : BriefItem_Coordinate_Point
Latitude double Latitude (expressed in decimal notation) for this point
Longitude double Longitude (expressed in decimal notation) for this point
Label string Label to associate with this point
리턴 BriefItem_Coordinate_Point

Add_Inner_Point() 공개 메소드

Add a new inner point of interest to this polygon
public Add_Inner_Point ( BriefItem_Coordinate_Point newPoint ) : void
newPoint BriefItem_Coordinate_Point Built coordinate point object to add
리턴 void

BriefItem_Coordinate_Polygon() 공개 메소드

Constructor for a new instance of this BriefItem_Coordinate_Polygon class
public BriefItem_Coordinate_Polygon ( ) : System
리턴 System

Clear_Edge_Points() 공개 메소드

Clears all the edge points in thie polygon
public Clear_Edge_Points ( ) : void
리턴 void

Recalculate_Bounding_Box() 공개 메소드

Forces a recalculation of the bounding box for this area and returns the new bounding box
Generally, this routing does not need to be called since just adding new edge points to this polygon forces a recalculation of the bounding box the next time it is requested
public Recalculate_Bounding_Box ( ) : ReadOnlyCollection
리턴 ReadOnlyCollection

is_In_Bounding_Box() 공개 메소드

Checks to see if a point is in the bounding box defined by this polygon
public is_In_Bounding_Box ( double Latitude, double Longitude ) : bool
Latitude double Latitude of the point to check
Longitude double Longitude of the point to check
리턴 bool

is_In_Bounding_Box() 공개 메소드

Checks to see if a rectangle overlaps the bounding box defined by this polygon
public is_In_Bounding_Box ( double Rect_Latitude_A, double Rect_Longitude_A, double Rect_Latitude_B, double Rect_Longitude_B ) : bool
Rect_Latitude_A double Maximum latitude of the rectangle to check
Rect_Longitude_A double Maximum longitude of the rectangle to check
Rect_Latitude_B double Minimum latitude of the rectangle to check
Rect_Longitude_B double Minimum longitude of the rectangle to check
리턴 bool