Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Static Public Member Functions
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...
 

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.

Member Function Documentation

◆ Perform() [1/2]

static Result BRepGraph_Deduplicate::Perform ( BRepGraph & theGraph)
static

Run deduplication on a built graph.

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

◆ Perform() [2/2]

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

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: