Open CASCADE Technology  7.5.0
Data Structures | Functions
TopLoc_Location.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <TopLoc_SListOfItemLocation.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
#include <Standard_OStream.hxx>
#include <TopLoc_Location.lxx>

Data Structures

class  TopLoc_Location
 A Location is a composite transition. It comprises a series of elementary reference coordinates, i.e. objects of type TopLoc_Datum3D, and the powers to which these objects are raised. More...
 

Functions

Standard_Integer HashCode (const TopLoc_Location &theLocation, const Standard_Integer theUpperBound)
 Computes a hash code for the given location, in the range [1, theUpperBound]. More...
 
void ShallowDump (const TopLoc_Location &me, Standard_OStream &S)
 

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const TopLoc_Location theLocation,
const Standard_Integer  theUpperBound 
)
inline

Computes a hash code for the given location, in the range [1, theUpperBound].

Parameters
theLocationthe location which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ ShallowDump()

void ShallowDump ( const TopLoc_Location me,
Standard_OStream S 
)
inline