View Issue Details

IDProjectCategoryView StatusLast Update
0000176Open CASCADEOCCT:Visualizationpublic2016-12-09 16:38
ReporterjbzAssigned Tobugmaster  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
OSAll 
Target Version7.1.0Fixed in Version7.1.0 
Summary0000176: Documentation: Values returned by Quantity_TOC_HLS' parameters !
DescriptionDear bugmaster,
Here is a precision to be included into OCC documentation.

Description:
Try this following code:
aCol Quantity_Color ( Quantity_NOC_BLACK); // or WHITE
Standard_Real hoot, light, sat;
aCol. Been worth (hoot, light, sat, Quantity_TOC_HLS);
aCol. SetValues (hoot, light, 0. Quantity_TOC_HLS);
Exception is raised!

Diagnosis:
The values returned for hoot is equal to -1.
which is impossible because it should be included Between 0 and 349!
Thus when we call SetValues() method, there is a control of the validity of the
values and necessarily an exception is raised!.

*Status:
Problem of documentation, nowhere it is not said that the value returned by the
Value() method may be -1 for the Hue angle.

Best Regards,
Jaouad
TagsNo tags attached.
Test case number

Relationships

related to 0025448 closedbugmaster Coding - remove useless header Quantity_Color_1.hxx 

Activities

kgv

2016-09-29 12:25

developer   ~0058303

Dear bugmaster,

the Quantity_Color documentation has been corrected in scope of patch for 0025448.
Please switch this bug to VERIFIED.

Issue History

Date Modified Username Field Change
2002-02-18 18:34 vtn Product Version 4.0 => dev
2002-02-18 18:34 vtn CC => sav
2002-05-07 14:58 bugmaster Assigned To bugmaster =>
2002-05-07 14:58 bugmaster Status new => assigned
2002-06-05 17:34 bugmaster Assigned To => sav
2005-07-13 16:27 bugmaster Assigned To sav => san
2005-07-13 16:27 bugmaster Category => VIZ
2005-07-13 16:27 bugmaster QAContact in development version => aki
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2015-11-17 16:46 kgv Relationship added related to 0025448
2016-09-29 12:25 kgv Note Added: 0058303
2016-09-29 12:25 kgv Assigned To san => bugmaster
2016-09-29 12:25 kgv Severity feature => minor
2016-09-29 12:25 kgv Status assigned => feedback
2016-09-29 12:25 kgv Resolution open => fixed
2016-09-29 12:25 kgv Fixed in Version EMPTY =>
2016-09-29 12:25 kgv Target Version => 7.1.0
2016-09-29 12:25 kgv Description Updated
2016-10-05 12:14 bugmaster Status feedback => tested
2016-10-05 12:14 bugmaster Status tested => verified
2016-12-09 16:30 aiv Status verified => closed
2016-12-09 16:38 aiv Fixed in Version => 7.1.0