mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: pointEdgePoint: check for equal
This commit is contained in:
@ -312,7 +312,7 @@ inline bool Foam::pointEdgePoint::equal
|
|||||||
inline bool Foam::pointEdgePoint::operator==(const Foam::pointEdgePoint& rhs)
|
inline bool Foam::pointEdgePoint::operator==(const Foam::pointEdgePoint& rhs)
|
||||||
const
|
const
|
||||||
{
|
{
|
||||||
return origin() == rhs.origin();
|
return (origin() == rhs.origin()) && (distSqr() == rhs.distSqr());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user