33 #ifndef triIntersectLocation_H 34 #define triIntersectLocation_H 46 namespace triIntersect
51 bool operator==(
const location& a,
const location&
b);
52 bool operator!=(
const location& a,
const location&
b);
53 Ostream&
operator<<(Ostream&,
const location&);
68 inline static label noi();
112 inline bool isNull()
const;
169 inline bool contiguous<triIntersect::location>()
friend bool operator==(const location &a, const location &b)
Test if locations are the same.
bool isTgtNotSrcPoint() const
Return whether the location is a target point and not a source.
bool isIntersection() const
Return whether the location is an intersection.
bool isSrcPoint() const
Return whether the location is a source point.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
static location tgtPoint(const label tgtPi)
Construct a target point location.
friend bool operator!=(const location &a, const location &b)
Test if locations are not the same.
Ostream & operator<<(Ostream &os, const FixedList< FixedList< Type, 3 >, 3 > &l)
Print 3x3 FixedListLists on one line.
static location srcPoint(const label srcPi)
Construct a source point location.
bool isSrcNotTgtPoint() const
Return whether the location is a source point and not a target.
static location srcTgtPoint(const label srcPi, const label tgtPi)
Construct a source and target point location.
bool isTgtPoint() const
Return whether the location is a target point.
label tgtPointi() const
Return the target point index.
label srcPointi() const
Return the source point index.
An ordered pair of two objects of type <T> with first() and second() elements.
bool operator==(const location &a, const location &b)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator!=(const location &a, const location &b)
location()
Construct null.
bool isSrcAndTgtPoint() const
Return whether the location is a source point and a target point.
static location intersection(const label srcEi, const label tgtEi)
Construct an intersection location between a source and a.
friend Ostream & operator<<(Ostream &os, const location &l)
Output the location to a stream.
bool isNull() const
Return whether the location is null.
label tgtEdgei() const
Return the target edge index.
label srcEdgei() const
Return the source edge index.