Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph_Deduplicate Class Reference

Deep geometry deduplication algorithm over an existing BRepGraph. More...

#include <BRepGraph_Deduplicate.hxx>

Data Structures

struct  Options
 Configuration for graph deduplication run. More...
struct  Result
 Result counters for diagnostics and tests. More...

Public Member Functions

 BRepGraph_Deduplicate ()=delete

Static Public Member Functions

static Result Perform (BRepGraph &theGraph)
 Run deduplication on a built graph.
static Result Perform (BRepGraph &theGraph, const Options &theOptions)
 Run deduplication on a built graph.

Detailed Description

Deep geometry deduplication algorithm over an existing BRepGraph.

This algorithm canonicalizes deep-equal geometry references (surfaces and 3D curves) using GeomHash hashers. It updates face/edge definition links to canonical geometry nodes and can record lineage in graph history.

First implementation intentionally does not merge edge/face definitions yet.

Constructor & Destructor Documentation

◆ BRepGraph_Deduplicate()

BRepGraph_Deduplicate::BRepGraph_Deduplicate ( )
delete

Member Function Documentation

◆ Perform() [1/2]

Result BRepGraph_Deduplicate::Perform ( BRepGraph & theGraph)
staticnodiscard

Run deduplication on a built graph.

Parameters
[in,out]theGraphgraph to update
Returns
dedup statistics

◆ Perform() [2/2]

Result BRepGraph_Deduplicate::Perform ( BRepGraph & theGraph,
const Options & theOptions )
staticnodiscard

Run deduplication on a built graph.

Parameters
[in,out]theGraphgraph to update
[in]theOptionsdedup configuration
Returns
dedup statistics

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