Skip to content

Documentation - Graphic3d_Aspects::PolygonOffsets update comments#519

Merged
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
mzernova:fix_doc
Jul 16, 2025
Merged

Documentation - Graphic3d_Aspects::PolygonOffsets update comments#519
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
mzernova:fix_doc

Conversation

@mzernova
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR clarifies misleading documentation by removing an incorrect comment in the image saving routine and updating the documented default units for polygon offsets in the OCC 3D viewer.

  • Removed the comment indicating the image is stored in linear RGB colorspace in Image_AlienPixMap.cxx.
  • Updated the documented default "units" value in Graphic3d_Aspects.hxx from 0 to 1.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Visualization/TKService/Image/Image_AlienPixMap.cxx Removed the incorrect header comment about linear RGB colorspace.
src/Visualization/TKService/Graphic3d/Graphic3d_Aspects.hxx Corrected the default documentation for OCC 3D viewer polygon offsets (units = 1 now).
Comments suppressed due to low confidence (1)

src/Visualization/TKService/Graphic3d/Graphic3d_Aspects.hxx:227

  • Ensure that this updated default documentation (units = 1) aligns with the underlying implementation so that the documentation accurately reflects actual behavior.
//! Default settings for OCC 3D viewer: mode = Aspect_POM_Fill, factor = 1., units = 1.

…en-Cascade-SAS#519)

Updated the documented default "units" value in Graphic3d_Aspects.hxx from 0 to 1.
@dpasukhi dpasukhi changed the title Documentation - fix misleading documention of defaults for Graphic3d_Aspects::PolygonOffsets() Documentation - Graphic3d_Aspects::PolygonOffsets update comments Jul 16, 2025
@dpasukhi dpasukhi merged commit 90b0e1d into Open-Cascade-SAS:IR Jul 16, 2025
45 of 46 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Maintenance Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants