private boolean equalTo(SMFCoordinateSystem another) { return axes.equals(another.axes) && windingOrder.equals(another.windingOrder); }
/** * Computes a hash code from attributes: {@code axes}, {@code windingOrder}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + axes.hashCode(); h += (h << 5) + windingOrder.hashCode(); return h; }
/** * @return A humanly-readable string such as "+x +y -z counter-clockwise" */ @Value.Lazy default String toHumanString() { return String.format( "%s %s %s %s", this.axes().right().axisSigned(), this.axes().up().axisSigned(), this.axes().forward().axisSigned(), this.windingOrder().toName()); } }
final CAxis axis_forward = CAxis.of(line.get(3)); final SMFFaceWindingOrder order = SMFFaceWindingOrder.fromName(line.get(4));
/** * @return A humanly-readable string such as "+x +y -z counter-clockwise" */ @Value.Lazy default String toHumanString() { return String.format( "%s %s %s %s", this.axes().right().axisSigned(), this.axes().up().axisSigned(), this.axes().forward().axisSigned(), this.windingOrder().toName()); } }
final CAxis axis_forward = CAxis.of(line.get(3)); final SMFFaceWindingOrder order = SMFFaceWindingOrder.fromName(line.get(4));
/** * Computes a hash code from attributes: {@code axes}, {@code windingOrder}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + axes.hashCode(); h += (h << 5) + windingOrder.hashCode(); return h; }
private boolean equalTo(SMFCoordinateSystem another) { return axes.equals(another.axes) && windingOrder.equals(another.windingOrder); }