In This Topic
Computes the intersection rectangle between two axis aligned boxes. This function assumes that the two boxes overlap.
Syntax
'Declaration
Public Shared Function IntersectionBox( _
ByVal As Point3D, _
ByVal As Point3D, _
ByVal As Point3D, _
ByVal As Point3D, _
ByRef As Point3D, _
ByRef As Point3D _
) As Size3D
public static Size3D IntersectionBox(
Point3D ,
Point3D ,
Point3D ,
Point3D ,
out Point3D ,
out Point3D
)
Parameters
- firstMin
- First box min point
- firstMax
- First box max point
- secondMin
- Second box min point
- secondMax
- Second box max point
- intersMin
- Intersection box min point
- intersMax
- Intersection box max point
Return Value
The size of the intersection box
See Also