Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph::ShapesView::Result Struct Reference

Outcome of a single Add() call. More...

#include <BRepGraph_ShapesView.hxx>

Public Member Functions

bool IsOk () const
 True if the build succeeded (with or without warnings).

Data Fields

BRepGraph_NodeId TopologyRoot
BRepGraph_ProductId Product
BRepGraph_OccurrenceId Occurrence
BRepGraph_RefId InsertedRef
AddStatus Status = AddStatus::Failed
NCollection_DataMap< TopoDS_Shape, BRepGraph_NodeId, TopTools_ShapeMapHasher > AddedNodes
 Populated only when Options::TrackAddedNodes is true. Maps every subshape of the input theShape (including the root) to the BRepGraph_NodeId it resolves to after the Add. Multiple input shapes that share identity collapse to one entry, as in OCCT's map types.

Detailed Description

Outcome of a single Add() call.

Member Function Documentation

◆ IsOk()

bool BRepGraph::ShapesView::Result::IsOk ( ) const
inlinenodiscard

True if the build succeeded (with or without warnings).

Field Documentation

◆ AddedNodes

NCollection_DataMap<TopoDS_Shape, BRepGraph_NodeId, TopTools_ShapeMapHasher> BRepGraph::ShapesView::Result::AddedNodes

Populated only when Options::TrackAddedNodes is true. Maps every subshape of the input theShape (including the root) to the BRepGraph_NodeId it resolves to after the Add. Multiple input shapes that share identity collapse to one entry, as in OCCT's map types.

◆ InsertedRef

BRepGraph_RefId BRepGraph::ShapesView::Result::InsertedRef

◆ Occurrence

BRepGraph_OccurrenceId BRepGraph::ShapesView::Result::Occurrence

◆ Product

BRepGraph_ProductId BRepGraph::ShapesView::Result::Product

◆ Status

AddStatus BRepGraph::ShapesView::Result::Status = AddStatus::Failed

◆ TopologyRoot

BRepGraph_NodeId BRepGraph::ShapesView::Result::TopologyRoot

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