Click or drag to resize

Polygon Class

A polygon is a set of 2-D points.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericPolygon

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class Polygon

The Polygon type exposes the following members.

Constructors
  NameDescription
Public methodPolygon
Initializes a new instance of the Polygon class
Top
Properties
  NameDescription
Public propertyPoints
List of all points in polygon
Public propertyXMax
Right edge of the polygon
Public propertyXMin
Left edge of the polygon
Public propertyYMax
Maximum y-value for the polygon (top level)
Public propertyYMin
Minimum y-value for the polygon (bottom level)
Top
Methods
  NameDescription
Public methodAddPoint(XYPair)
Add a point to the polygon
Public methodAddPoint(Double, Double)
Add a point to the polygon
Public methodCheckIfSimple
Check if polygon is simple.
Public methodContains
Check if polygon contains point.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also