Back to FabImage Studio website

You are here: Start » Filter Reference » Path » Path Metrics » PathToLineDistance

PathToLineDistance


Module: FoundationBasic

Computes the smallest distance between a path and a line.

Name Type Range Description
Input value inPath Path Input path
Input value inLine Line2D Input line
Input value inResolution Real 0.0 - Number of real-world units per one pixel
Output value outDistance Real Minimal distance between input path and input line
Output value outConnectingSegment Segment2D Segment connecting input path and input line having minimal length

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathToLineDistance.
DomainError Indefinite line on input in PathToLineDistance.

Complexity Level

This filter is available on Basic Complexity Level.