Skip to content

fix(ContourTriangulator): preserve oriented contour normals for x-axis#3460

Merged
finetjul merged 1 commit intoKitware:masterfrom
daker:fix3243-clipclosedsurface
Apr 22, 2026
Merged

fix(ContourTriangulator): preserve oriented contour normals for x-axis#3460
finetjul merged 1 commit intoKitware:masterfrom
daker:fix3243-clipclosedsurface

Conversation

@daker
Copy link
Copy Markdown
Collaborator

@daker daker commented Mar 29, 2026

Context

fixes #3243

Results

vtkContourTriangulator was incorrectly treating a valid 3-component normal as "unoriented" via normal?.length < 3, which caused it to ignore the supplied plane orientation.

Changes

  • Documentation and TypeScript definitions were updated to match those changes

PR and Code Checklist

  • semantic-release commit messages
  • Run npm run reformat to have correctly formatted code

Testing

  • This change adds or fixes unit tests
  • Tested environment:
    • vtk.js:
    • OS:
    • Browser:

vtkContourTriangulator was incorrectly treating a valid 3-component normal as "unoriented"
via normal?.length < 3, which caused it to ignore the supplied plane orientation.

fixes Kitware#3243
@daker
Copy link
Copy Markdown
Collaborator Author

daker commented Apr 15, 2026

@finetjul any pending review for this one ?

Copy link
Copy Markdown
Member

@finetjul finetjul left a comment

Choose a reason for hiding this comment

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

LGTM

@finetjul finetjul added this pull request to the merge queue Apr 22, 2026
Merged via the queue into Kitware:master with commit 67d3a3c Apr 22, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 35.10.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released Automated label label Apr 22, 2026
@daker daker deleted the fix3243-clipclosedsurface branch April 23, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Automated label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] about vtkClipClosedSurface

2 participants