mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

Coordinate_Polygon Class



Geographic information in the form of a polygon comprised of several coordinate points


Namespace: SobekCM.Resource_Object.Metadata_Modules.GeoSpatial
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
[SerializableAttribute]
public class Coordinate_Polygon

Inheritance Hierarchy

System..::..Object
  SobekCM.Resource_Object.Metadata_Modules.GeoSpatial..::..Coordinate_Polygon

Constructors

  NameDescription
Public methodCoordinate_Polygon
Constructor for a new instance of this Coordinate_Polygon class

Methods

  NameDescription
Public methodAdd_Edge_Point(Coordinate_Point)
Add a new edge point of interest to this polygon
Public methodAdd_Edge_Point(Double, Double)
Add a new edge point of interest to this polygon
Public methodAdd_Edge_Point(Double, Double, String)
Add a new edge point of interest to this polygon
Public methodAdd_Inner_Point(Coordinate_Point)
Add a new inner point of interest to this polygon
Public methodAdd_Inner_Point(Double, Double)
Add a new inner point of interest to this polygon
Public methodAdd_Inner_Point(Double, Double, String)
Add a new inner point of interest to this polygon
Public methodClear_Edge_Points
Clears all the edge points in thie polygon
Public methodis_In_Bounding_Box(Double, Double)
Checks to see if a point is in the bounding box defined by this polygon
Public methodis_In_Bounding_Box(Double, Double, Double, Double)
Checks to see if a rectangle overlaps the bounding box defined by this polygon
Public methodRecalculate_Bounding_Box
Forces a recalculation of the bounding box for this area and returns the new bounding box

Properties

  NameDescription
Public propertyBounding_Box
Return the rectangular bounding box, with the first point in the upper left corner and the second point in the lower right corner
Public propertyEdge_Points
Read-only collection of all the edge points for this polygon
Public propertyEdge_Points_Count
Number of points which comprise the edge of this polygon
Public propertyFeatureType
FeatureType associated with this polygon
Public propertyID
Identifier for this polygon is pulled from the XML Node ID
Public propertyInner_Points
Read-only collection of all inner points of interest for this polygon
Public propertyInner_Points_Count
Number of internal points of interest in this polygon
Public propertyLabel
Label for this polygon within the digital resource
Public propertyPage_Sequence
Page sequence if this polygon represents coordinates for a single page in this resource
Public propertyPolygonType
PolygonType associated with this polygon
Public propertyRotation
Rotation of this polygon

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )