Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomFill_Gordon Class Reference

High-level Gordon surface construction from arbitrary curve networks. More...

#include <GeomFill_Gordon.hxx>

Public Member Functions

 GeomFill_Gordon ()
 Creates an empty Gordon surface algorithm.
 
void Init (const NCollection_Array1< occ::handle< Geom_Curve > > &theProfiles, const NCollection_Array1< occ::handle< Geom_Curve > > &theGuides, double theTolerance)
 Initializes the algorithm with profile and guide curves.
 
void Perform ()
 Performs the Gordon surface construction.
 
void SetParallelMode (bool theToUseParallel)
 Enables/disables parallel processing in internal stages. By default, single-thread mode is used.
 
bool IsParallelMode () const
 Returns true if internal parallel processing is enabled.
 
bool IsDone () const
 Returns true if the surface was successfully constructed.
 
const occ::handle< Geom_BSplineSurface > & Surface () const
 Returns the resulting Gordon B-spline surface.
 

Detailed Description

High-level Gordon surface construction from arbitrary curve networks.

A Gordon surface (transfinite interpolation) constructs a smooth B-spline surface from a network of intersecting profile (V) and guide (U) curves using the Boolean sum formula: S = S_profiles + S_guides - S_tensor

This generalizes the existing GeomFill_Coons (4-boundary patch) to N x M curve networks.

This class accepts arbitrary Geom_Curve inputs, handles conversion to BSpline, intersection detection, network sorting, curve reparametrization for compatibility, then delegates to GeomFill_GordonBuilder for the core mathematical construction.

Usage:

aGordon.Perform();
if (aGordon.IsDone())
{
}
High-level Gordon surface construction from arbitrary curve networks.
Definition GeomFill_Gordon.hxx:56
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
Intrusive smart pointer for use with Standard_Transient class and its descendants.
Definition Standard_Handle.hxx:54

Limitations:

Constructor & Destructor Documentation

◆ GeomFill_Gordon()

GeomFill_Gordon::GeomFill_Gordon ( )

Creates an empty Gordon surface algorithm.

Member Function Documentation

◆ Init()

void GeomFill_Gordon::Init ( const NCollection_Array1< occ::handle< Geom_Curve > > & theProfiles,
const NCollection_Array1< occ::handle< Geom_Curve > > & theGuides,
double theTolerance )

Initializes the algorithm with profile and guide curves.

Parameters
[in]theProfilesarray of profile curves (V-direction sections, must be >= 2)
[in]theGuidesarray of guide curves (U-direction sections, must be >= 2)
[in]theTolerancegeometric tolerance for intersection detection

◆ IsDone()

bool GeomFill_Gordon::IsDone ( ) const
inline

Returns true if the surface was successfully constructed.

◆ IsParallelMode()

bool GeomFill_Gordon::IsParallelMode ( ) const
inline

Returns true if internal parallel processing is enabled.

◆ Perform()

void GeomFill_Gordon::Perform ( )

Performs the Gordon surface construction.

◆ SetParallelMode()

void GeomFill_Gordon::SetParallelMode ( bool theToUseParallel)
inline

Enables/disables parallel processing in internal stages. By default, single-thread mode is used.

◆ Surface()

const occ::handle< Geom_BSplineSurface > & GeomFill_Gordon::Surface ( ) const

Returns the resulting Gordon B-spline surface.


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