Table of Contents

Method FindNearest

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

FindNearest(Point2f, out Point2f)

Finds the subdivision vertex closest to the given point.

public int FindNearest(Point2f pt, out Point2f nearestPt)

Parameters

pt Point2f

Input point.

nearestPt Point2f

Output subdivision vertex point.

Returns

int

vertex ID.