Public Member Functions | |
location () | |
Construct null. More... | |
bool | isNull () const |
Return whether the location is null. More... | |
bool | isSrcPoint () const |
Return whether the location is a source point. More... | |
bool | isTgtPoint () const |
Return whether the location is a target point. More... | |
bool | isSrcNotTgtPoint () const |
Return whether the location is a source point and not a target. More... | |
bool | isTgtNotSrcPoint () const |
Return whether the location is a target point and not a source. More... | |
bool | isSrcAndTgtPoint () const |
Return whether the location is a source point and a target point. More... | |
bool | isIntersection () const |
Return whether the location is an intersection. More... | |
label | srcPointi () const |
Return the source point index. More... | |
label | tgtPointi () const |
Return the target point index. More... | |
label | srcEdgei () const |
Return the source edge index. More... | |
label | tgtEdgei () const |
Return the target edge index. More... | |
Static Public Member Functions | |
static location | srcPoint (const label srcPi) |
Construct a source point location. More... | |
static location | tgtPoint (const label tgtPi) |
Construct a target point location. More... | |
static location | srcTgtPoint (const label srcPi, const label tgtPi) |
Construct a source and target point location. More... | |
static location | intersection (const label srcEi, const label tgtEi) |
Construct an intersection location between a source and a. More... | |
Friends | |
bool | operator== (const location &a, const location &b) |
Test if locations are the same. More... | |
bool | operator!= (const location &a, const location &b) |
Test if locations are not the same. More... | |
Ostream & | operator<< (Ostream &os, const location &l) |
Output the location to a stream. More... | |
Definition at line 59 of file triIntersectLocation.H.
|
inline |
Construct null.
Definition at line 80 of file triIntersectLocationI.H.
|
inlinestatic |
Construct a source point location.
Definition at line 51 of file triIntersectLocationI.H.
Referenced by Foam::triIntersect::intersectTris().
|
inlinestatic |
Construct a target point location.
Definition at line 58 of file triIntersectLocationI.H.
Referenced by Foam::triIntersect::intersectTris().
|
inlinestatic |
Construct a source and target point location.
Definition at line 65 of file triIntersectLocationI.H.
Referenced by Foam::triIntersect::intersectTris().
|
inlinestatic |
Construct an intersection location between a source and a.
target edge
Definition at line 72 of file triIntersectLocationI.H.
Referenced by Foam::triIntersect::intersectTris().
|
inline |
Return whether the location is null.
Definition at line 88 of file triIntersectLocationI.H.
References Pair< Type >::first(), and Pair< Type >::second().
|
inline |
Return whether the location is a source point.
Definition at line 94 of file triIntersectLocationI.H.
References Pair< Type >::first().
Referenced by Foam::triIntersect::generateGeometryForLocations(), location::isSrcAndTgtPoint(), location::isSrcNotTgtPoint(), location::isTgtNotSrcPoint(), Foam::triIntersect::orderLocations(), intersection::srcBoxStatic(), and location::srcPointi().
|
inline |
Return whether the location is a target point.
Definition at line 100 of file triIntersectLocationI.H.
References Pair< Type >::second().
Referenced by Foam::triIntersect::generateGeometryForLocations(), location::isSrcAndTgtPoint(), location::isSrcNotTgtPoint(), location::isTgtNotSrcPoint(), Foam::triIntersect::orderLocations(), intersection::srcBoxStatic(), and location::tgtPointi().
|
inline |
Return whether the location is a source point and not a target.
point
Definition at line 106 of file triIntersectLocationI.H.
References location::isSrcPoint(), and location::isTgtPoint().
Referenced by Foam::triIntersect::orderLocations(), and intersection::srcBoxStatic().
|
inline |
Return whether the location is a target point and not a source.
point
Definition at line 112 of file triIntersectLocationI.H.
References location::isSrcPoint(), and location::isTgtPoint().
Referenced by Foam::triIntersect::orderLocations(), and intersection::srcBoxStatic().
|
inline |
Return whether the location is a source point and a target point.
Definition at line 118 of file triIntersectLocationI.H.
References location::isSrcPoint(), and location::isTgtPoint().
Referenced by Foam::triIntersect::generateGeometryForLocations(), Foam::triIntersect::intersectTris(), and Foam::triIntersect::orderLocations().
|
inline |
Return whether the location is an intersection.
Definition at line 124 of file triIntersectLocationI.H.
References Pair< Type >::first(), and Pair< Type >::second().
Referenced by Foam::triIntersect::intersectTris(), Foam::triIntersect::orderLocations(), intersection::srcBoxStatic(), location::srcEdgei(), and location::tgtEdgei().
|
inline |
Return the source point index.
Definition at line 132 of file triIntersectLocationI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Pair< Type >::first(), and location::isSrcPoint().
Referenced by Foam::triIntersect::generateGeometryForLocations(), Foam::triIntersect::intersectTris(), Foam::triIntersect::orderLocations(), and intersection::srcBoxStatic().
|
inline |
Return the target point index.
Definition at line 146 of file triIntersectLocationI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, location::isTgtPoint(), and Pair< Type >::second().
Referenced by Foam::triIntersect::generateGeometryForLocations(), Foam::triIntersect::intersectTris(), Foam::triIntersect::orderLocations(), and intersection::srcBoxStatic().
|
inline |
Return the source edge index.
Definition at line 160 of file triIntersectLocationI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Pair< Type >::first(), and location::isIntersection().
Referenced by Foam::triIntersect::generateGeometryForLocations(), Foam::triIntersect::intersectTris(), Foam::triIntersect::orderLocations(), and intersection::srcBoxStatic().
|
inline |
Return the target edge index.
Definition at line 174 of file triIntersectLocationI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, location::isIntersection(), and Pair< Type >::second().
Referenced by Foam::triIntersect::generateGeometryForLocations(), Foam::triIntersect::intersectTris(), Foam::triIntersect::orderLocations(), and intersection::srcBoxStatic().
Test if locations are not the same.