public boolean equals()

in commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/rotation/AxisAngleSequence.java [147:162]


    public boolean equals(final Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof AxisAngleSequence)) {
            return false;
        }

        final AxisAngleSequence other = (AxisAngleSequence) obj;

        return this.referenceFrame == other.referenceFrame &&
                this.axisSequence == other.axisSequence &&
                Double.compare(this.angle1, other.angle1) == 0 &&
                Double.compare(this.angle2, other.angle2) == 0 &&
                Double.compare(this.angle3, other.angle3) == 0;
    }