Click or drag to resize
XyEnvelope Class
Defines a rectangular region in (X-Y) local coordinates, representing a bounding box for a set of coordinates (a geometry), which can be defined in geographic, projected or local grid coordinates.

It is created with a Cartography object, defining the local grid coordinate system.

It is possible to move the origin of the local grid coordinate system using the MoveGridOrigin(Double, Double), which will also move and update the Cartography object to the new origin.

Inheritance Hierarchy
SystemObject
  DHI.ProjectionsXyEnvelope

Namespace: DHI.Projections
Assembly: DHI.Projections (in DHI.Projections.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public class XyEnvelope

The XyEnvelope type exposes the following members.

Constructors
  NameDescription
Public methodXyEnvelope
Create a new XyEnvelope object
Top
Properties
  NameDescription
Public propertyCartography
Cartography object currently used by object
Public propertyXMax
Returns the Envelopes maximum x-value. min x > max x indicates that this is a null Envelope.
Public propertyXMin
Returns the Envelopes minimum x-value. min x > max x indicates that this is a null Envelope.
Public propertyYMax
Returns the Envelopes maximum y-value. min y > max y indicates that this is a null Envelope.
Public propertyYMin
Returns the Envelopes minimum y-value. min y > max y indicates that this is a null Envelope.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(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 methodIncludeGeo
Include the Geographic coordinate (lon,lat) in the envelope
Public methodIncludeProj
Include the projection coordinate (east,north) in the envelope
Public methodIncludeXy
Include the local grid coordinate (x,y) in the envelope
Public methodMoveGridOrigin
Move the origin of the local grid (x,y) coordinate system to the specified (x,y) coordinates, i.e. the specified (x,y) coordinate will match (0,0) in the new local grid coordinate system.

Also the Cartography object is updated to new origin

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also