exposed new degeneracy flags in smart factors (they were already exposed in triangulation and only partially exposed in smart factors)

release/4.3a0
Luca 2016-07-31 18:22:49 -04:00
parent b82af4f5cc
commit 0b4927cafe
1 changed files with 9 additions and 9 deletions

View File

@ -534,19 +534,19 @@ public:
} }
/// Is result valid? /// Is result valid?
bool isValid() const { bool isValid() const { return result_.valid(); }
return result_;
}
/** return the degenerate state */ /** return the degenerate state */
bool isDegenerate() const { bool isDegenerate() const { return result_.degenerate(); }
return result_.degenerate();
}
/** return the cheirality status flag */ /** return the cheirality status flag */
bool isPointBehindCamera() const { bool isPointBehindCamera() const { return result_.behindCamera(); }
return result_.behindCamera();
} /** return the outlier state */
bool isOutlier() const { return result_.outlier(); }
/** return the farPoint state */
bool isFarPoint() const { return result_.farPoint(); }
private: private: