Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
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 FaceOps & Faces () const
 Grouped face-oriented queries.
const EdgeOps & Edges () const
 Grouped edge-oriented queries.
const VertexOps & Vertices () const
 Grouped vertex-oriented queries.
const WireOps & Wires () const
 Grouped wire-oriented queries.
const ShellOps & Shells () const
 Grouped shell-oriented queries.
const SolidOps & Solids () const
 Grouped solid-oriented queries.
const CoEdgeOps & CoEdges () const
 Grouped coedge-oriented queries.
const CompoundOps & Compounds () const
 Grouped compound-oriented queries.
const CompSolidOps & CompSolids () const
 Grouped comp-solid oriented queries.
const ProductOps & Products () const
 Grouped product-oriented queries.
const OccurrenceOps & Occurrences () const
 Grouped occurrence-oriented queries.
const GenOps & Gen () const
 Grouped generic topology and assembly counts / meta queries.
const GeometryOps & Geometry () 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.

Relations() is the single entry point for ordered topology relation containers. Adjacency helpers return references only into existing relation storage. Ref-owned parent links are exposed as reference-id containers; callers resolve parent definitions through RefsView entries or typed iterators.

Member Function Documentation

◆ CoEdges()

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

Grouped coedge-oriented queries.

◆ Compounds()

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

Grouped compound-oriented queries.

◆ CompSolids()

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

Grouped comp-solid oriented queries.

◆ Edges()

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

Grouped edge-oriented queries.

◆ Faces()

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

Grouped face-oriented queries.

◆ Gen()

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

Grouped generic topology and assembly counts / meta queries.

◆ Geometry()

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

Grouped analytic geometry representation queries.

◆ Occurrences()

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

Grouped occurrence-oriented queries.

◆ Products()

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

Grouped product-oriented queries.

◆ Shells()

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

Grouped shell-oriented queries.

◆ Solids()

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

Grouped solid-oriented queries.

◆ Vertices()

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

Grouped vertex-oriented queries.

◆ Wires()

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

Grouped wire-oriented queries.


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