Adjusts to encapsulate inEnvelope.
[Visual Basic .NET] Public Sub Union3D ( _ ByVal inEnvelope As IEnvelope _ )
[C#] public void Union3D ( IEnvelope inEnvelope );
[C++]
HRESULT Union3D(
IEnvelope* inEnvelope
);
[C++]Parameters
inEnvelopeinEnvelope is a parameter of type IEnvelope
Product Availability
Description
Sets the base Envelope equal to the union of itself and the input Envelope. The XMin, YMin, and ZMin of the base Envelope will be set equal to the minimum XMin, YMin, and ZMin between itself and the input Envelope. Similarly, the XMax, YMax, and ZMax of the base Envelope will be set equal to the maximim XMax, YMax, and ZMax between itself and the input Envelope.
public static void TestUnion3D()
{
IGeometry envelopeGeometry1 = GetEnvelopeGeometry1();
IGeometry envelopeGeometry2 = GetEnvelopeGeometry2();
IEnvelope3D envelope3D = envelopeGeometry1 as IEnvelope3D;
envelope3D.Union3D(envelopeGeometry2 as IEnvelope);
}