Class VNDetectedPoint

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
VNRecognizedPoint

public class VNDetectedPoint
extends VNPoint
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • VNDetectedPoint

      protected VNDetectedPoint()
    • VNDetectedPoint

      protected VNDetectedPoint​(NSObject.Handle h, long handle)
    • VNDetectedPoint

      protected VNDetectedPoint​(NSObject.SkipInit skipInit)
  • Method Details

    • getConfidence

      public float getConfidence()
    • getZeroPoint

      public static VNPoint getZeroPoint()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • getPointByApplyingVector

      public static VNPoint getPointByApplyingVector​(VNVector vector, VNPoint point)
    • getDistance

      @Deprecated public static double getDistance​(VNPoint point1, VNPoint point2)
      Deprecated.
      Deprecated in iOS 14.0. Use -distanceToPoint:
      Since:
      Available in iOS 14.0 and later.