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

Invoke.PathToPointDistance

Computes the smallest distance between a path and a point.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void PathToPointDistance
(
	Fil.Point2D inPoint,
	Fil.Path inPath,
	float inResolution,
	out float outDistance,
	Optional<Fil.Segment2D> outConnectingSegment
)

Parameters

Name Type Range Default Description
inPointFil.Point2DInput point.
inPathFil.PathInput path.
inResolutionfloat<0.0f, INF>1.0fDefault value: 1.0f.
outDistancefloatMinimal distance between input path and input point.
outConnectingSegmentFtl.Optional<Fil.Segment2D>Segment connecting input path and input point having minimal length.

See also