OCCT3D About OCCT
Open CASCADE Technology Reference Manual 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Data Fields
BRepGraph_RefUID Struct Reference

Unique reference-entry identifier within a BRepGraph. More...

#include <BRepGraph_RefUID.hxx>

Public Member Functions

 BRepGraph_RefUID ()=default
 
 BRepGraph_RefUID (const BRepGraph_RefId::Kind theKind, const uint32_t theCounter)
 
bool IsValid () const
 True if this UID has a valid kind and a non-zero counter.
 
size_t HashValue () const noexcept
 

Static Public Member Functions

static BRepGraph_RefUID Invalid ()
 

Data Fields

BRepGraph_RefId::Kind Kind = BRepGraph_RefId::Kind::Shell
 
uint32_t Counter = 0
 

Detailed Description

Unique reference-entry identifier within a BRepGraph.

Identity = (RefKind, Counter). Counter 0 is an invalid sentinel.

Constructor & Destructor Documentation

◆ BRepGraph_RefUID() [1/2]

BRepGraph_RefUID::BRepGraph_RefUID ( )
default

◆ BRepGraph_RefUID() [2/2]

BRepGraph_RefUID::BRepGraph_RefUID ( const BRepGraph_RefId::Kind theKind,
const uint32_t theCounter )
inline

Member Function Documentation

◆ HashValue()

size_t BRepGraph_RefUID::HashValue ( ) const
inlinenoexcept

◆ Invalid()

static BRepGraph_RefUID BRepGraph_RefUID::Invalid ( )
inlinestatic

◆ IsValid()

bool BRepGraph_RefUID::IsValid ( ) const
inline

True if this UID has a valid kind and a non-zero counter.

Field Documentation

◆ Counter

uint32_t BRepGraph_RefUID::Counter = 0

◆ Kind


The documentation for this struct was generated from the following file: