diff options
author | Sven Gothel <[email protected]> | 2023-02-12 00:16:54 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-02-12 00:23:19 +0100 |
commit | 90c4a8348cbe182bf3f0bcc55fd015f19ed0686f (patch) | |
tree | 7931ff3910bcf201b6a267402f7895c3a202acbd | |
parent | 139d89bb7f7dd86d862608f39e90b34803a48753 (diff) |
Point: Add toString()
-rw-r--r-- | src/main/java/net/java/dev/typecast/ot/Point.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/java/dev/typecast/ot/Point.java b/src/main/java/net/java/dev/typecast/ot/Point.java index 3530ba4..82ce13e 100644 --- a/src/main/java/net/java/dev/typecast/ot/Point.java +++ b/src/main/java/net/java/dev/typecast/ot/Point.java @@ -25,4 +25,8 @@ public class Point { this.onCurve = onCurve; this.endOfContour = endOfContour; } + + public String toString() { + return "P["+x+"/"+y+", on "+onCurve+", end "+endOfContour+"]"; + } } |