From 3f1bde8e7a74f9e249a53380aff20893929b1f77 Mon Sep 17 00:00:00 2001 From: Michael Doube Date: Mon, 22 Apr 2024 16:51:56 +0800 Subject: [PATCH] Mark getEllipsoidTensor() as public May be useful for external clients of the API. --- .../src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java b/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java index 8f373b4d..598d361c 100644 --- a/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java +++ b/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java @@ -222,11 +222,11 @@ public boolean contains(final double x, final double y, final double z) { * * @return 3×3 matrix containing H, the ellipsoid tensor */ - private double[][] getEllipsoidTensor() { + public double[][] getEllipsoidTensor() { if (this.eh == null) { this.eh = times(times(ev, ed), transpose(ev)); } - return this.eh; + return this.eh.clone(); } /**