AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgEnvelope::MgEnvelope ( MgCoordinate coord1,
MgCoordinate coord2 
)

Constructs and initializes an envelope for a region defined by two coordinates.

.NET Syntax
MgEnvelope(MgCoordinate coord1, MgCoordinate coord2);
Java Syntax
MgEnvelope(MgCoordinate coord1, MgCoordinate coord2);
PHP Syntax
MgEnvelope(MgCoordinate coord1, MgCoordinate coord2);

Parameters:
coord1 (MgCoordinate) The first MgCoordinate to use in defining the region.
coord2 (MgCoordinate) The second MgCoordinate to use in defining the region.