PathToLineDistanceProfile


Computes the profile of distances between a line and the characteristic points of a path.

Syntax

C++
C#
Python
 
def PathToLineDistanceProfile(
	inPath: Path,
	inLine: Line2D,
	inResolution: float,
	outDistanceProfile: Profile,
	/
)
-> (
	outDistances: list[float],
	outConnectingSegments: list[Segment2D]
)

Parameters

Name Type Range Default Description
Input value inPath Path Input path
Input value inLine Line2D Input line
Input value inResolution float 0.0 - Number of real-world units per one pixel
Output value outDistanceProfile Profile Profile of distances between input line and consecutive points of input path
Output value outDistances list[float] Distances between input line and consecutive points of input path
Output value outConnectingSegments list[Segment2D] Segments connecting input line and consecutive points of input path having minimal length