PathToPathMaximumDistance


Computes the distance between the farthest point of the input path from the other path.

Syntax

C++
C#
Python
 
def PathToPathMaximumDistance(
	inPath1: Path,
	inPath2: Path,
	inResolution: float,
	/,
	*,
	inPathDistanceMode: PathDistanceMode = PathDistanceMode.PointToPoint,
	outConnectingSegment: Segment2D | None = None
)
-> outDistance: float

Parameters

Name Type Range Default Description
Input value inPath1 Path First input path
Input value inPath2 Path Second input path
Input value inPathDistanceMode PathDistanceMode PathDistanceMode.PointToPoint Distance measuring method
Input value inResolution float 0.0 -
Output value outDistance float Distance between farthest point of the input path the other input path
Output value outConnectingSegment Segment2D | None None Segment connecting input paths having such distance