Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Public Member Functions
BRepGraph::TopoView Class Reference

Unified read-only view over topology definitions, adjacency, and representations. More...

#include <BRepGraph_TopoView.hxx>

Data Structures

class  CoEdgeOps
 Coedge-oriented topology and representation queries. More...
 
class  CompoundOps
 Compound-oriented topology queries. More...
 
class  CompSolidOps
 Comp-solid oriented topology queries. More...
 
class  EdgeOps
 Edge-oriented topology queries. More...
 
class  FaceOps
 Face-oriented topology queries. More...
 
class  GenOps
 Generic topology and assembly count / meta queries. More...
 
class  GeometryOps
 Analytic geometry representation queries. More...
 
class  OccurrenceOps
 Occurrence-oriented raw assembly queries. More...
 
class  ProductOps
 Product-oriented raw assembly queries. More...
 
class  ShellOps
 Shell-oriented topology queries. More...
 
class  SolidOps
 Solid-oriented topology queries. More...
 
class  VertexOps
 Vertex-oriented topology queries. More...
 
class  WireOps
 Wire-oriented topology queries. More...
 

Public Member Functions

const FaceOpsFaces () const
 Grouped face-oriented queries.
 
const EdgeOpsEdges () const
 Grouped edge-oriented queries.
 
const VertexOpsVertices () const
 Grouped vertex-oriented queries.
 
const WireOpsWires () const
 Grouped wire-oriented queries.
 
const ShellOpsShells () const
 Grouped shell-oriented queries.
 
const SolidOpsSolids () const
 Grouped solid-oriented queries.
 
const CoEdgeOpsCoEdges () const
 Grouped coedge-oriented queries.
 
const CompoundOpsCompounds () const
 Grouped compound-oriented queries.
 
const CompSolidOpsCompSolids () const
 Grouped comp-solid oriented queries.
 
const ProductOpsProducts () const
 Grouped product-oriented queries.
 
const OccurrenceOpsOccurrences () const
 Grouped occurrence-oriented queries.
 
const GenOpsGen () const
 Grouped generic topology and assembly counts / meta queries.
 
const GeometryOpsGeometry () const
 Grouped analytic geometry representation queries.
 

Detailed Description

Unified read-only view over topology definitions, adjacency, and representations.

Provides topology definition lookup, representation lookup, read-only adjacency queries, and assembly classification over the incidence-table model stored in BRepGraph. Obtained via BRepGraph::Topo().

Soft-deletion convention

Per-kind count methods (Faces().Nb(), Edges().Nb(), etc.) return totals including soft-removed nodes. Prefer per-kind NbActive() variants for traversal and validation code that should ignore removed entities. Definition accessors (Face, Edge, etc.) do not filter removed nodes - callers should check IsRemoved() if needed.

TopoView vs RefsView naming

TopoView accessors take definition IDs (BRepGraph_FaceId, BRepGraph_ShellId, etc.) and return definition structs (FaceDef, ShellDef). RefsView accessors take reference IDs (BRepGraph_FaceRefId, BRepGraph_ShellRefId) and return reference-entry structs carrying per-use orientation and location.

Reverse-index accessors return const references to internal vectors. The reference itself is always valid; the returned vector may be empty when the queried entity has no parents of that kind.

Member Function Documentation

◆ CoEdges()

const CoEdgeOps & BRepGraph::TopoView::CoEdges ( ) const
inline

Grouped coedge-oriented queries.

◆ Compounds()

const CompoundOps & BRepGraph::TopoView::Compounds ( ) const
inline

Grouped compound-oriented queries.

◆ CompSolids()

const CompSolidOps & BRepGraph::TopoView::CompSolids ( ) const
inline

Grouped comp-solid oriented queries.

◆ Edges()

const EdgeOps & BRepGraph::TopoView::Edges ( ) const
inline

Grouped edge-oriented queries.

◆ Faces()

const FaceOps & BRepGraph::TopoView::Faces ( ) const
inline

Grouped face-oriented queries.

◆ Gen()

const GenOps & BRepGraph::TopoView::Gen ( ) const
inline

Grouped generic topology and assembly counts / meta queries.

◆ Geometry()

const GeometryOps & BRepGraph::TopoView::Geometry ( ) const
inline

Grouped analytic geometry representation queries.

◆ Occurrences()

const OccurrenceOps & BRepGraph::TopoView::Occurrences ( ) const
inline

Grouped occurrence-oriented queries.

◆ Products()

const ProductOps & BRepGraph::TopoView::Products ( ) const
inline

Grouped product-oriented queries.

◆ Shells()

const ShellOps & BRepGraph::TopoView::Shells ( ) const
inline

Grouped shell-oriented queries.

◆ Solids()

const SolidOps & BRepGraph::TopoView::Solids ( ) const
inline

Grouped solid-oriented queries.

◆ Vertices()

const VertexOps & BRepGraph::TopoView::Vertices ( ) const
inline

Grouped vertex-oriented queries.

◆ Wires()

const WireOps & BRepGraph::TopoView::Wires ( ) const
inline

Grouped wire-oriented queries.


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