![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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. | |
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:
Limitations:
| GeomFill_Gordon::GeomFill_Gordon | ( | ) |
Creates an empty Gordon surface algorithm.
| 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.
| [in] | theProfiles | array of profile curves (V-direction sections, must be >= 2) |
| [in] | theGuides | array of guide curves (U-direction sections, must be >= 2) |
| [in] | theTolerance | geometric tolerance for intersection detection |
|
inline |
Returns true if the surface was successfully constructed.
|
inline |
Returns true if internal parallel processing is enabled.
| void GeomFill_Gordon::Perform | ( | ) |
Performs the Gordon surface construction.
Enables/disables parallel processing in internal stages. By default, single-thread mode is used.
| const occ::handle< Geom_BSplineSurface > & GeomFill_Gordon::Surface | ( | ) | const |
Returns the resulting Gordon B-spline surface.