Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 2D Distance Metrics » PointToSegmentDistance

PointToSegmentDistance


Measures the distance between a point and a segment.

Name Type Range Description
inPoint Point2D
inSegment Segment2D
inResolution Real 0.0 - Number of real-world units per one pixel
outDistance Real
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.