Back to Aurora Vision Studio website
	
                
                    
	
		
	You are here: Start » Filter Reference » Path » Path Metrics » PathToLineDistance
| Module: | FoundationBasic | 
|---|
Computes the smallest distance between a path and a line.
| Name | Type | Range | Description | |
|---|---|---|---|---|
![]()  | 
				inPath | Path | Input path | |
![]()  | 
				inLine | Line2D | Input line | |
![]()  | 
				inResolution | Real | 0.0 - ![]()  | 
				Number of real-world units per one pixel | 
![]()  | 
				outDistance | Real | Minimal distance between input path and input line | |
![]()  | 
				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.

 Basic

