BoxToBoxDistance


Computes minimal distance between one of the points of the first box with one of the points of the second box.

Syntax

C++
Python
 
def BoxToBoxDistance(
	inBox1: Box,
	inBox2: Box,
	inResolution: float,
	/,
	*,
	outConnectingSegment: Segment2D | None = None
)
-> outDistance: float

Parameters

Name Type Range Default Description
Input value inBox1 Box
Input value inBox2 Box
Input value inResolution float 0.0 -
Output value outDistance float
Output value outConnectingSegment Segment2D | None None