首页 > 代码库 > Envelope

Envelope

 

 

IEnvelope Interface

Provides access to methods and properties of envelopes. Note: the IEnvelope interface has been superseded byIEnvelope2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Envelopes are the rectangular window that contain a specific element.  All Geometry objects have an envelope defined by the XMin, XMax, YMin, and YMax of the object.  Envelopes can also serve as the viewing area for a particular view screen or data frame.

Members

Description

 

 技术分享

CenterAt

Moves this envelope so it is centered at p.

 技术分享

DefineFromPoints

Defines the envelope to cover all the points.

 技术分享

Depth

The depth of the envelope.

 技术分享

Dimension

The topological dimension of this geometry.

 技术分享

Envelope

Creates a copy of this geometry‘s envelope and returns it.

 技术分享

Expand

Moves the X and Y coordinates of the sides toward or away from each other.

 技术分享

ExpandM

Moves the measure of the sides toward or away from each other.

 技术分享

ExpandZ

Moves the Z attribute of the sides toward or away from each other.

 技术分享

GeometryType

The type of this geometry.

 技术分享

GeoNormalize

Shifts longitudes, if need be, into a continuous range of 360 degrees.

 技术分享

GeoNormalizeFromLongitude

Normalizes longitudes into a continuous range containing the longitude. This method is obsolete.

 技术分享

Height

The height of the envelope.

 技术分享

Intersect

Adjusts to include only the area also included by inEnvelope.

 技术分享

IsEmpty

Indicates whether this geometry contains any points.

 技术分享

LowerLeft

The lower left corner.

 技术分享

LowerRight

The lower right corner.

 技术分享

MMax

The maximum measure value in the area of the envelope.

 技术分享

MMin

The minimum measure value in the area of the envelope.

 技术分享

Offset

Moves the sides x units horizontally and y units vertically.

 技术分享

OffsetM

Moves the sides m units.

 技术分享

OffsetZ

Moves the sides z units.

 技术分享

Project

Projects this geometry into a new spatial reference.

 技术分享

PutCoords

Constructs an envelope from the coordinate values of lower, left and upper, right corners.

 技术分享

QueryCoords

Returns the coordinates of lower, left and upper, right corners.

 技术分享

QueryEnvelope

Copies this geometry‘s envelope properties into the specified envelope.

 技术分享

SetEmpty

Removes all points from this geometry.

 技术分享

SnapToSpatialReference

Moves points of this geometry so that they can be represented in the precision of the geometry‘s associated spatial reference system.

 技术分享

SpatialReference

The spatial reference associated with this geometry.

 技术分享

Union

Adjusts to overlap inEnvelope.

 技术分享

UpperLeft

The upper left corner.

 技术分享

UpperRight

The upper right corner.

 技术分享

Width

The width of the envelope.

 技术分享

XMax

The position of the right side.

 技术分享

XMin

The position of the left side.

 技术分享

YMax

The position of the top.

 技术分享

YMin

The position of the bottom.

 技术分享

ZMax

The maximum Z value in the area of the envelope.

 技术分享

ZMin

The minimum Z value in the area of the envelope.

Inherited Interfaces

Interfaces

Description

IGeometry

Provides access to members that describe properties and behavior of all geometric objects.

CoClasses that implement IEnvelope

CoClasses and Classes

Description

Envelope

A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.

[C#]

        //The following C# code shows how to create an envelope from coordinates:
        IEnvelope env = new EnvelopeClass() as IEnvelope;

        env.PutCoords(-10, -5, 10, 5);

 

Envelope