Loading Comparison/src/main/java/cz/fidentis/analyst/face/HumanFace.java +12 −0 Original line number Diff line number Diff line Loading @@ -225,6 +225,18 @@ public class HumanFace implements MeshListener, Serializable { return name; } /** * Returns short name of the face without its path in the name. * @return short name of the face without its path in the name */ public String getShortName() { String name = this.getName(); int from = name.length() - 1; while (Character.valueOf('\\').compareTo(name.charAt(from)) != 0) {from--;} name = name.substring(from + 1); return name; } /** * Returns already computed k-d tree of the triangular mesh or {@code null}. * @return Already computed k-d tree of the triangular mesh or {@code null} Loading Loading
Comparison/src/main/java/cz/fidentis/analyst/face/HumanFace.java +12 −0 Original line number Diff line number Diff line Loading @@ -225,6 +225,18 @@ public class HumanFace implements MeshListener, Serializable { return name; } /** * Returns short name of the face without its path in the name. * @return short name of the face without its path in the name */ public String getShortName() { String name = this.getName(); int from = name.length() - 1; while (Character.valueOf('\\').compareTo(name.charAt(from)) != 0) {from--;} name = name.substring(from + 1); return name; } /** * Returns already computed k-d tree of the triangular mesh or {@code null}. * @return Already computed k-d tree of the triangular mesh or {@code null} Loading