From ec1023813f97b566f0c1d3c620bf8d02b9aabf48 Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Thu, 28 Jul 2011 13:09:58 +0000 Subject: [PATCH] Java API: KeyPoint::toString() is added --- modules/java/src/java/features2d+KeyPoint.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/java/src/java/features2d+KeyPoint.java b/modules/java/src/java/features2d+KeyPoint.java index 9f3da1a..373a57f 100644 --- a/modules/java/src/java/features2d+KeyPoint.java +++ b/modules/java/src/java/features2d+KeyPoint.java @@ -58,4 +58,12 @@ public class KeyPoint { { this(x, y, _size, -1, 0, 0, -1); } + + @Override + public String toString() { + return "KeyPoint [pt=" + pt + ", size=" + size + ", angle=" + angle + + ", response=" + response + ", octave=" + octave + + ", class_id=" + class_id + "]"; + } + } -- 2.7.4