Click or drag to resize

Extent Class

Extent is a rectangle in xy-space.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.Spatial.GeometryExtent

Namespace:  DHI.Mike1D.Generic.Spatial.Geometry
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public class Extent

The Extent type exposes the following members.

Constructors
  NameDescription
Public methodExtent
Default constructor, creates an empty extent
Public methodExtent(Extent)
Copy constructor that ininitalizes the extent to a certain extent.
Public methodExtent(Double, Double, Double, Double)
Constructor that ininitalizes the extent to a certain extent.
Top
Methods
  NameDescription
Public methodContains
Checks if this extent contains the xy-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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInclude(Extent)
Make this extent include other. This will grow this extent, if the other point is outside this extent.
Public methodInclude(Double, Double)
Make this extent include the xy-point. This will grow this extent, if the xy-point is outside this extent.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOverlaps
Checks if this extent overlaps the other extent
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldXMax
Maximum x coordinate of extent
Public fieldXMin
Minimum x coordinate of extent
Public fieldYMax
Maximum y coordinate of extent
Public fieldYMin
Minimum y coordinate of extent
Top
See Also