PathToPointDistanceProfile


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

Syntax

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

Parameters

Name Type Range Default Description
Input value inPoint Point2D Input point
Input value inPath Path Input path
Input value inResolution float 0.0 -
Output value outDistanceProfile Profile Profile of distances between input point and consecutive points of input path
Output value outDistances list[float] Distances between input point and consecutive points of input path
Output value outConnectingSegments list[Segment2D] Segments connecting input point and consecutive points of input path