ArcGISEnvelope

Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISEnvelope
Since: 1.0.0
Inheritance: ArcGISGeometry->ArcGISEnvelope

Summary

A geometry that represents a rectangular shape.

Constructors

ArcGISEnvelope(double, double, double, double)

Creates an envelope based on the x,y coordinates with a null spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

ArcGISEnvelope(double, double, double, double, double, double)

Creates an envelope based on the x,y and z values with a null spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

zMin
No

The minimal z-value.

zMax
No

The maximum z-value.

Creates an envelope based on x, y, and z values with the spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

zMin
No

The minimal z-value.

zMax
No

The maximum z-value.

spatialReference
Yes

The spatial reference for the envelope.

ArcGISEnvelope(double, double, double, double, const ArcGISSpatialReference&)

Creates an envelope based on the x,y coordinates with a spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

spatialReference
Yes

The spatial reference for the envelope.

ArcGISEnvelope(const ArcGISPoint&, double, double)

Creates an envelope from a center point and a width and height.

Since 1.0.0

Arguments
NameTypeConstSummary
center
Yes

The center point for the envelope.

width
No

The width of the envelope around the center point.

height
No

The height of the envelope around the center point.

ArcGISEnvelope(const ArcGISPoint&, double, double, double)

Creates an envelope from a center point and a width, height, and depth.

Since 1.0.0

Arguments
NameTypeConstSummary
center
Yes

The center point for the envelope.

width
No

The width of the envelope around the center point.

height
No

The height of the envelope around the center point.

depth
No

The depth of the envelope around the center point.

ArcGISEnvelope(const ArcGISPoint&, const ArcGISPoint&)

Creates an envelope from any two points.

Since 1.0.0

Arguments
NameTypeConstSummary
min
Yes

The minimal values for the envelope.

max
Yes

The maximum values for the envelope.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

The center point for the envelope.

No
Yes

The depth (ZMax - ZMin) for the envelope.

No
Yes

The height for the envelope.

No
Yes

The m maximum value for the envelope.

No
Yes

The m minimum value for the envelope.

No
Yes

The width for the envelope.

No
Yes

The x maximum value for the envelope.

No
Yes

The x minimum value for the envelope.

No
Yes

The y maximum value for the envelope.

No
Yes

The y minimum value for the envelope.

No
Yes

The z maximum value for the envelope.

No
Yes

The z minimum value for the envelope.

Center

ArcGISPoint GetCenter() const

The center point for the envelope.

Creates a new Point.

Depth

double GetDepth() const

The depth (ZMax - ZMin) for the envelope.

A 2D envelope has zero depth. Returns NAN if the envelope is empty or if an error occurs.

Height

double GetHeight() const

The height for the envelope.

Returns NAN if an error occurs.

MMax

double GetMMax() const

The m maximum value for the envelope.

Returns NAN if an error occurs.

MMin

double GetMMin() const

The m minimum value for the envelope.

Returns NAN if an error occurs.

Width

double GetWidth() const

The width for the envelope.

Returns NAN if an error occurs.

XMax

double GetXMax() const

The x maximum value for the envelope.

Returns NAN if an error occurs.

XMin

double GetXMin() const

The x minimum value for the envelope.

Returns NAN if an error occurs.

YMax

double GetYMax() const

The y maximum value for the envelope.

Returns NAN if an error occurs.

YMin

double GetYMin() const

The y minimum value for the envelope.

Returns NAN if an error occurs.

ZMax

double GetZMax() const

The z maximum value for the envelope.

Returns NAN if an error occurs.

ZMin

double GetZMin() const

The z minimum value for the envelope.

Returns NAN if an error occurs.

Methods

SignatureReturn TypeSummary

CreateWithM(double, double, double, double, double, double)

ArcGISEnvelope

Creates an envelope based on the x, y and m values with a null spatial reference.

CreateWithM(double, double, double, double, double, double, double, double)

ArcGISEnvelope

Creates an envelope based on the x, y, z and m values with a null spatial reference.

CreateWithM(double, double, double, double, double, double, double, double, const ArcGISSpatialReference&)

ArcGISEnvelope

Creates an envelope based on the x, y, z and m values with a spatial reference.

CreateWithM(double, double, double, double, double, double, const ArcGISSpatialReference&)

ArcGISEnvelope

Creates an envelope based on the x, y and m values with a spatial reference.

CreateWithM

static ArcGISEnvelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double mMin, double mMax)

Creates an envelope based on the x, y and m values with a null spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

mMin
No

The minimal m-value.

mMax
No

The maximum m-value.

Returns ArcGISEnvelope

An envelope. This is passed to geometry or envelope functions.

CreateWithM

static ArcGISEnvelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double zMin, double zMax, double mMin, double mMax)

Creates an envelope based on the x, y, z and m values with a null spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

zMin
No

The minimal z-value.

zMax
No

The maximum z-value.

mMin
No

The minimal m-value.

mMax
No

The maximum m-value.

Returns ArcGISEnvelope

An envelope. This is passed to geometry or envelope functions.

CreateWithM

static ArcGISEnvelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double zMin, double zMax, double mMin, double mMax, const ArcGISSpatialReference& spatialReference)

Creates an envelope based on the x, y, z and m values with a spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

zMin
No

The minimal z-value.

zMax
No

The maximum z-value.

mMin
No

The minimal m-value.

mMax
No

The maximum m-value.

spatialReference
Yes

The spatial reference for the envelope.

Returns ArcGISEnvelope

An envelope. This is passed to geometry or envelope functions.

CreateWithM

static ArcGISEnvelope CreateWithM(double xMin, double yMin, double xMax, double yMax, double mMin, double mMax, const ArcGISSpatialReference& spatialReference)

Creates an envelope based on the x, y and m values with a spatial reference.

Since 1.0.0

Arguments
NameTypeConstSummary
xMin
No

The minimal x-value.

yMin
No

The minimal y-value.

xMax
No

The maximum x-value.

yMax
No

The maximum y-value.

mMin
No

The minimal m-value.

mMax
No

The maximum m-value.

spatialReference
Yes

The spatial reference for the envelope.

Returns ArcGISEnvelope

An envelope. This is passed to geometry or envelope functions.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.