You are here: Start » FIL.NET » Invoke.PathToLineDistance

Invoke.PathToLineDistance

Computes the smallest distance between a path and a line.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void PathToLineDistance
(
	Fil.Path inPath,
	Fil.Line2D inLine,
	float inResolution,
	out float outDistance,
	Optional<Fil.Segment2D> outConnectingSegment
)

Parameters

Name Type Range Default Description
inPathFil.PathInput path.
inLineFil.Line2DInput line.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloatMinimal distance between input path and input line.
outConnectingSegmentFtl.Optional<Fil.Segment2D>Segment connecting input path and input line having minimal length.

See also