Utility.IntersectionBox Method

Computes the intersection rectangle between two axis aligned boxes. This function assumes that the two boxes overlap.
Public Shared Function IntersectionBox( _ 
ByVal firstMin As Point3D, _ 
ByVal firstMax As Point3D, _ 
ByVal secondMin As Point3D, _ 
ByVal secondMax As Point3D, _ 
ByRef intersMin As Point3D, _ 
ByRef intersMax As Point3D
) As Size3D
This language is not supported or no code example is available.
public static Size3D IntersectionBox( 
Point3D firstMin
Point3D firstMax
Point3D secondMin
Point3D secondMax
out Point3D intersMin
out Point3D intersMax 
)
This language is not supported or no code example is available.

Parameters

firstMin
Point3D

First box min point

firstMax
Point3D

First box max point

secondMin
Point3D

Second box min point

secondMax
Point3D

Second box max point

intersMin
Point3D

Intersection box min point

intersMax
Point3D

Intersection box max point

Return Value

Size3D

The size of the intersection box

.NET Framework

Supported in: 4.8

In this article

Definition