mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Coding - Geom package Copy optimisation (#645)
- Adds copy constructors for 9 geometry classes (Bezier/BSpline curves and surfaces, offset curves and surfaces in both 2D and 3D) - Updates Copy() methods to use the new copy constructors instead of recreating objects through standard constructors - Includes comprehensive test coverage for all new copy constructors
This commit is contained in:
@@ -127,6 +127,10 @@ public:
|
||||
//! U or V.
|
||||
Standard_EXPORT Geom_BezierSurface(const TColgp_Array2OfPnt& SurfacePoles);
|
||||
|
||||
//! Copy constructor for optimized copying without validation.
|
||||
//! @param[in] theOther the Bezier surface to copy from
|
||||
Standard_EXPORT Geom_BezierSurface(const Geom_BezierSurface& theOther);
|
||||
|
||||
//! ---Purpose
|
||||
//! Creates a rational Bezier surface with a set of poles and a
|
||||
//! set of weights.
|
||||
|
Reference in New Issue
Block a user