Back to Aurora Vision Studio websiteYou are here:
Start »
Filter Reference »
Geometry 2D »
Geometry 2D Distance Metrics »
PointToSegmentDistance
Measures the distance between a point and a segment.
|
Name |
Type |
Range |
Description |
![Input value](../../img/in.png) |
inPoint |
Point2D |
|
![Input value](../../img/in.png) |
inSegment |
Segment2D |
|
![Input value](../../img/in.png) |
inResolution |
Real |
0.0 - ![](../../img/infinity.png) |
Number of real-world units per one pixel |
![Output value](../../img/out.png) |
outDistance |
Real |
|
|
![Output value](../../img/out.png) |
outConnectingSegment |
Segment2D |
|
Examples
PointToSegmentDistance performed on a sample point and a sample segment. The green segment is the value of outConnectingSegment output.
Complexity Level
This filter is available on Basic Complexity Level.