//----------------------------------------------------------
ofRectangle ofRectangle::getStandardized() const {
    if(isStandardized()) {
        return *this;
    } else {
        ofRectangle canRect(*this); // copy it
        canRect.standardize();
        return canRect;
    }
}
//----------------------------------------------------------
ofRectangle ofRectangle::getCanonicalized() const {
    ofRectangle canRect(*this); // copy it
    canRect.canonicalize();
    return canRect;
}