Skip to content

The Clone method of the SphericalSurface didn't copy the usedArea. Th… - #321

Merged
dsn27 merged 1 commit into
masterfrom
320-sphericalsurface-clone
Jul 1, 2026
Merged

The Clone method of the SphericalSurface didn't copy the usedArea. Th…#321
dsn27 merged 1 commit into
masterfrom
320-sphericalsurface-clone

Conversation

@davidebazzi

Copy link
Copy Markdown
Collaborator

…is will cause exception when computing the intersection of a spline with a sphere.

…is will cause exception when computing the intersection of a spline with a sphere.
@davidebazzi davidebazzi linked an issue Jun 30, 2026 that may be closed by this pull request
@dsn27
dsn27 requested a review from Copilot July 1, 2026 11:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes cloning behavior for SphericalSurface so that the surface’s usedArea domain is preserved when cloning, preventing downstream exceptions during intersection computations (e.g., spline–sphere intersections).

Changes:

  • Update SphericalSurface.Clone() to pass the current usedArea into the cloned instance constructor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dsn27
dsn27 merged commit 6adfb4d into master Jul 1, 2026
1 check passed
@dsn27
dsn27 deleted the 320-sphericalsurface-clone branch July 1, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SphericalSurface clone

3 participants