C# Класс SobekCM.Core.BriefItem.BriefItem_Coordinate_Polygon

Показать файл Открыть проект Примеры использования класса

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