Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph_CacheMesh::FaceMeshEntry Struct Reference

Cached mesh entry for a face: single triangulation. More...

#include <BRepGraph_CacheMesh.hxx>

Inheritance diagram for BRepGraph_CacheMesh::FaceMeshEntry:

Public Member Functions

bool IsPresent () const
void ClearRepresentation () noexcept
 Clear triangulation representation. Does NOT bump MeshGeneration - callers must call BRepGraph_CacheMesh::BumpFaceMeshGeneration() separately.
void Reset () noexcept
Public Member Functions inherited from BRepGraph_Cache::NodeEntry
void Reset () noexcept
 Reset to an unbound stale state.
bool BindOwnGen (const BRepGraph_Cache &theCache, const BRepGraph_NodeId theNode) noexcept
 Bind this entry to the current OwnGen of a node.
bool BindSubtreeGen (const BRepGraph_Cache &theCache, const BRepGraph_NodeId theNode) noexcept
 Bind this entry to the current SubtreeGen of a node.
bool IsFreshOwn (const BRepGraph_Cache &theCache, const BRepGraph_NodeId theNode) const noexcept
 Validate against the current OwnGen of the same node.
bool IsFreshSubtree (const BRepGraph_Cache &theCache, const BRepGraph_NodeId theNode) const noexcept
 Validate against the current SubtreeGen of the same node.
bool IsFresh (const BRepGraph_Cache &theCache) const noexcept
 Validate against the generation kind captured at bind time.
bool IsBound () const noexcept
 True if the entry was successfully bound to a node generation.
BRepGraph_NodeId Node () const noexcept
 Node identity captured at bind time.

Data Fields

occ::handle< Poly_Triangulation > Triangulation
EntryStamp Stamp
uint32_t MeshGeneration = 0

Detailed Description

Cached mesh entry for a face: single triangulation.

Member Function Documentation

◆ ClearRepresentation()

void BRepGraph_CacheMesh::FaceMeshEntry::ClearRepresentation ( )
inlinenoexcept

Clear triangulation representation. Does NOT bump MeshGeneration - callers must call BRepGraph_CacheMesh::BumpFaceMeshGeneration() separately.

◆ IsPresent()

bool BRepGraph_CacheMesh::FaceMeshEntry::IsPresent ( ) const
inlinenodiscard

◆ Reset()

void BRepGraph_CacheMesh::FaceMeshEntry::Reset ( )
inlinenoexcept

Field Documentation

◆ MeshGeneration

uint32_t BRepGraph_CacheMesh::FaceMeshEntry::MeshGeneration = 0

◆ Stamp

EntryStamp BRepGraph_CacheMesh::FaceMeshEntry::Stamp

◆ Triangulation

occ::handle<Poly_Triangulation> BRepGraph_CacheMesh::FaceMeshEntry::Triangulation

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