![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Wire property accessors. More...
#include <BRepGraph_Tool.hxx>
Static Public Member Functions | |
| static bool | IsClosed (const BRepGraph &theGraph, const BRepGraph_WireId theWire) |
| Returns true if the wire is topologically closed. | |
| static uint32_t | NbCoEdges (const BRepGraph &theGraph, const BRepGraph_WireId theWire) |
| Number of CoEdge references in the wire (raw count: seam halves count twice, matching TopoDS_Iterator(wire) semantics). | |
| static uint32_t | NbDistinctEdges (const BRepGraph &theGraph, const BRepGraph_WireId theWire) |
| Number of distinct underlying edges in the wire (seam halves count once). | |
| static BRepGraph_FaceId | FaceOf (const BRepGraph &theGraph, const BRepGraph_WireId theWire) |
| Returns the first owning face for this wire via the reverse-index table. Returns an invalid id if the wire has no owning face (free wire). | |
| static bool | IsOuter (const BRepGraph &theGraph, const BRepGraph_WireId theWire) |
| Returns true if this wire is the outer boundary (IsOuter flag) of its owning face. Scans WireRefs that reference this wire. Returns false for free wires (no owning face). | |
Wire property accessors.
Provides wire closure, size, and ownership queries. For ordered edge traversal, use BRepGraphInc_WireExplorer or access the WireDef::CoEdgeRefIds vector directly via TopoView.
|
static |
Returns the first owning face for this wire via the reverse-index table. Returns an invalid id if the wire has no owning face (free wire).
| [in] | theGraph | source graph |
| [in] | theWire | typed wire definition identifier |
|
static |
Returns true if the wire is topologically closed.
| [in] | theGraph | source graph |
| [in] | theWire | typed wire definition identifier |
|
static |
Returns true if this wire is the outer boundary (IsOuter flag) of its owning face. Scans WireRefs that reference this wire. Returns false for free wires (no owning face).
| [in] | theGraph | source graph |
| [in] | theWire | typed wire definition identifier |
|
static |
Number of CoEdge references in the wire (raw count: seam halves count twice, matching TopoDS_Iterator(wire) semantics).
| [in] | theGraph | source graph |
| [in] | theWire | typed wire definition identifier |
|
static |
Number of distinct underlying edges in the wire (seam halves count once).
| [in] | theGraph | source graph |
| [in] | theWire | typed wire definition identifier |