PathToPathDistanceProfile


Computes the profile of distances between two paths.

Syntax

C++
C#
Python
 
def PathToPathDistanceProfile(
	inPath1: Path,
	inPath2: Path,
	inResolution: float,
	outDistanceProfile: Profile,
	/,
	*,
	inPathDistanceMode: PathDistanceMode = PathDistanceMode.PointToPoint
)
-> (
	outDistances: list[float],
	outConnectingSegments: list[Segment2D]
)

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 outDistanceProfile Profile Profile of distances between second path and consecutive points of first path
Output value outDistances list[float] Distances between second path and consecutive points of first path
Output value outConnectingSegments list[Segment2D] Segments connecting second path and consecutive points of first path having minimal length