OCCT3D About OCCT
Open CASCADE Technology Reference Manual 8.0.1
Loading...
Searching...
No Matches
Static Public Member Functions
BRepGraph_Tool::Shell Class Reference

Shell property accessors. More...

#include <BRepGraph_Tool.hxx>

Static Public Member Functions

static ShellUsage Usage (const BRepGraph &theGraph, const BRepGraph_ShellRefId theShellRef)
 Resolves a shell reference id to a lightweight usage value.
 
static bool IsClosed (const BRepGraph &theGraph, const BRepGraph_ShellId theShell)
 Returns true if the shell is topologically closed, derived from face-boundary edge incidence.
 
static bool IsClosed (const BRepGraph &theGraph, const BRepGraph_ShellRefId theShellRef)
 Returns true if the referenced shell is topologically closed.
 
static uint32_t NbFaces (const BRepGraph &theGraph, const BRepGraph_ShellId theShell)
 Returns the number of face references in the shell.
 
static uint32_t NbFaces (const BRepGraph &theGraph, const BRepGraph_ShellRefId theShellRef)
 Returns the number of face references in the referenced shell.
 

Detailed Description

Shell property accessors.

Provides shell closure and face count queries.

Member Function Documentation

◆ IsClosed() [1/2]

static bool BRepGraph_Tool::Shell::IsClosed ( const BRepGraph & theGraph,
const BRepGraph_ShellId theShell )
static

Returns true if the shell is topologically closed, derived from face-boundary edge incidence.

Parameters
[in]theGraphsource graph
[in]theShelltyped shell definition identifier
Returns
true if closed

◆ IsClosed() [2/2]

static bool BRepGraph_Tool::Shell::IsClosed ( const BRepGraph & theGraph,
const BRepGraph_ShellRefId theShellRef )
static

Returns true if the referenced shell is topologically closed.

◆ NbFaces() [1/2]

static uint32_t BRepGraph_Tool::Shell::NbFaces ( const BRepGraph & theGraph,
const BRepGraph_ShellId theShell )
static

Returns the number of face references in the shell.

Parameters
[in]theGraphsource graph
[in]theShelltyped shell definition identifier
Returns
number of face entries (including removed)

◆ NbFaces() [2/2]

static uint32_t BRepGraph_Tool::Shell::NbFaces ( const BRepGraph & theGraph,
const BRepGraph_ShellRefId theShellRef )
static

Returns the number of face references in the referenced shell.

◆ Usage()

static ShellUsage BRepGraph_Tool::Shell::Usage ( const BRepGraph & theGraph,
const BRepGraph_ShellRefId theShellRef )
static

Resolves a shell reference id to a lightweight usage value.

Parameters
[in]theGraphsource graph
[in]theShellReftyped shell reference identifier
Returns
shell usage, or invalid usage if the reference is invalid or removed

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