#include <SidednessAgreement.h>
◆ SidednessAgreement() [1/2]
ph::lta::SidednessAgreement::SidednessAgreement |
( |
| ) |
|
|
inline |
◆ SidednessAgreement() [2/2]
◆ adjustForSidednessAgreement()
void ph::lta::SidednessAgreement::adjustForSidednessAgreement |
( |
SurfaceHit & | X | ) |
const |
|
inline |
◆ isBackHemisphere()
- Returns
- Whether
vec
is under the back facing hemisphere given current policy.
- Note
isFrontHemisphere() == !isBackHemisphere()
is not necessary true. Consider the case where one of the vectors is perpendicular to the normal, it could theoretically belong to both hemisphere; to eliminate the ambiguity, the test is exclusive and returns false in this case.
◆ isFrontHemisphere()
- Returns
- Whether
vec
is under the front facing hemisphere given current policy.
- Note
isFrontHemisphere() == !isBackHemisphere()
is not necessary true. Consider the case where one of the vectors is perpendicular to the normal, it could theoretically belong to both hemisphere; to eliminate the ambiguity, the test is exclusive and returns false in this case.
◆ isOppositeHemisphere()
- Returns
- Whether
vecA
and vecB
are under the opposite hemisphere given current policy.
- Note
isOppositeHemisphere() == !isSameHemisphere()
is not necessary true. Consider the case where one of the vectors is perpendicular to the normal, it could theoretically belong to both hemisphere; to eliminate the ambiguity, the test is exclusive and returns false in this case.
◆ isSameHemisphere()
- Returns
- Whether
vecA
and vecB
are under the same hemisphere given current policy.
- Note
isSameHemisphere() == !isOppositeHemisphere()
is not necessary true. Consider the case where one of the vectors is perpendicular to the normal, it could theoretically belong to both hemisphere; to eliminate the ambiguity, the test is exclusive and returns false in this case.
◆ isSidednessAgreed() [1/2]
◆ isSidednessAgreed() [2/2]
The documentation for this class was generated from the following file: