occt.git
11 years ago0023548: Boolean operation between two faces fails
pkv [Tue, 13 Nov 2012 06:49:13 +0000 (10:49 +0400)]
0023548: Boolean operation between two faces fails

11 years ago0023290: IntCurve_IntPolyPolyGen.gxx, suspicious if/for
ika [Thu, 8 Nov 2012 13:27:01 +0000 (17:27 +0400)]
0023290: IntCurve_IntPolyPolyGen.gxx, suspicious if/for
unnecessary code was deleted

11 years ago0022835: IncrementalMesh generates FLT exceptions when running in parallel mode
apn [Wed, 7 Nov 2012 12:28:00 +0000 (16:28 +0400)]
0022835: IncrementalMesh generates FLT exceptions when running in parallel mode

Adding test case

11 years ago0023475: Wrong result of Geom_BSpline_Surface::IsVClosed()
gka [Thu, 15 Nov 2012 11:35:03 +0000 (15:35 +0400)]
0023475: Wrong result of Geom_BSpline_Surface::IsVClosed()

Modifications:
Definition closure surface by U and V by distance between isolines on bounds
Comparison to isolines on identity
Implementation of short dump of surface and curves
Change order of comparison

Fix and test script for bug 0023475
Modification of script to restore surface
Modification for correction regression ( UIso and VIso were confused)
Modified test case and test surface for bug 0023475

11 years ago0022927: Regression with OCCT652 on Windows. DRAWEXE crashes during offsetcomshape.
vro [Thu, 15 Nov 2012 11:19:42 +0000 (15:19 +0400)]
0022927: Regression with OCCT652 on Windows. DRAWEXE crashes during offsetcomshape.

Check was added to avoid a crash if result is not reachable.
Modified test case

11 years ago0023291: GccAna_Circ2d3Tan_8.cxx, suspicious if
ika [Thu, 15 Nov 2012 11:14:58 +0000 (15:14 +0400)]
0023291: GccAna_Circ2d3Tan_8.cxx, suspicious if

one of the duplicate conditions has been removed
Code was changed to be more obvious.
Unite if blocks into one block
Small correction of coding style

11 years ago0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer
omy [Fri, 2 Nov 2012 09:48:15 +0000 (13:48 +0400)]
0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer

Commit details: set the proper factor value.

11 years ago0022522: Small BUG in DRAWEXE - vtrihedron command
aba [Thu, 15 Nov 2012 10:35:21 +0000 (14:35 +0400)]
0022522: Small BUG in DRAWEXE - vtrihedron command

Add condition to check if shape name is already bound
Used VDisplayAISObject() to display an object
vtrihedron - fixed parsing of arguments with Z direction definition

11 years ago0023329: Edit comment of function Epsilon (Standard_Real.hxx)
ilv [Mon, 29 Oct 2012 05:57:21 +0000 (09:57 +0400)]
0023329: Edit comment of function Epsilon (Standard_Real.hxx)

11 years ago0022970: Incorrect array use in Graphic3d_StructureManager.cxx
aba [Thu, 25 Oct 2012 10:07:11 +0000 (14:07 +0400)]
0022970: Incorrect array use in Graphic3d_StructureManager.cxx

Corrected bounds of loops and initialisation error message.

11 years ago0022832: Not documented limitation of Graphic3d_StructureManager
aba [Wed, 24 Oct 2012 11:12:38 +0000 (15:12 +0400)]
0022832: Not documented limitation of Graphic3d_StructureManager

Added information about viewers count limitation in CDL documentation.

11 years ago0023432: Connected Interactive Objects computed without Interactive Context
kgv [Thu, 15 Nov 2012 09:27:18 +0000 (13:27 +0400)]
0023432: Connected Interactive Objects computed without Interactive Context

Setup interactive context for reference(s) in Compute() method of classes AIS_ConnectedInteractive and AIS_MultipleConnectedInteractive
Extend vconnectsh and vconnect to process several input objects, added displaying color for result object
Fixed errors in QAGetPixelColor DRAW command
Edit QAGetPixelColor command and test case
ViewerTest::GetColorFromName() - fixed iteration bounds
QAAISGetPixelColor() - removed redundant conversions
Turn back QAGetPixelColor output syntax in case of 3 arguments
Integration of test script to new test system

11 years ago0023361: Bug in gp_Trsf::Multiply
ilv [Thu, 15 Nov 2012 09:23:11 +0000 (13:23 +0400)]
0023361: Bug in gp_Trsf::Multiply

Bug in gp_Trsf::Multiply fixed.
If we multiply 2 gp_Trsf objects (shape == gp_Rotation), for example, t1 * t2, and t2.loc = 0
(t2.loc.x == 0 and t2.loc.y == 0 and t2.loc.z == 0)
then t1.loc will not change (you can verify it from the matrix multiplication)
Adding test case

11 years ago0023292:The variable 'k' is being used for this loop and for the outer loop.
aba [Wed, 10 Oct 2012 07:30:33 +0000 (11:30 +0400)]
0023292:The variable 'k' is being used for this loop and for the outer loop.

New variable 'm' was defined for the inner loop in line 212 of gccana_circ2d3tan_2.cxx.

Rebased on current master.

11 years ago0022545: Improved exception handling
Roman Lygin [Thu, 15 Nov 2012 09:17:30 +0000 (13:17 +0400)]
0022545: Improved exception handling

11 years ago0023141: Suspicious if (2)
aba [Tue, 16 Oct 2012 11:11:33 +0000 (15:11 +0400)]
0023141: Suspicious if (2)

Fixed condition which was always true

11 years ago0023144: Suspicious if (3)
omy [Thu, 15 Nov 2012 09:01:32 +0000 (13:01 +0400)]
0023144: Suspicious if (3)

Fixed mistake in Standard_Boolean IntCoCo ( ... ) function of IntPatch_ImpImpIntersection_5.gxx file.
Fixed this condition because of the opposite parametrisation direction of the intersection line.

11 years ago0023143: Suspicious else
omy [Thu, 15 Nov 2012 08:59:23 +0000 (12:59 +0400)]
0023143: Suspicious else

Changes description:
In src\IntPatch\IntPatch_ImpPrmIntersection.cxx , in ForcedPurgePoints function changed
ParametersOnS2() to ParametersOnS1() in cases of
Standard_Boolean IsReversed == false in lines 1522 & 1540
Got rid from duplicated code in function static void ForcedPurgePoints(...)

11 years ago0022591: Migration to FreeImage: texture management
kgv [Thu, 15 Nov 2012 08:52:57 +0000 (12:52 +0400)]
0022591: Migration to FreeImage: texture management

Graphic3d_TextureRoot - migrate to Image_AlienPixMap
OpenGl_View::CreateBackgroundTexture() - migrate to Image_AlienPixMap
Fixed Graphic3d_TextureRoot::LoadTexture() method.

11 years ago0023142: GccAna : suspicious else
ika [Thu, 11 Oct 2012 12:40:05 +0000 (16:40 +0400)]
0023142: GccAna : suspicious else

the else should be signe = +1

11 years ago0023281: Removed unused OpenGl_ImageBox
kgv [Thu, 18 Oct 2012 16:44:39 +0000 (20:44 +0400)]
0023281: Removed unused OpenGl_ImageBox

11 years ago0023312: Suspicious for loop in BiTgte_Blend.cxx
aba [Tue, 16 Oct 2012 14:06:05 +0000 (18:06 +0400)]
0023312: Suspicious for loop in BiTgte_Blend.cxx

Deleted line 'NbS=0;' to allow next loop be executable

11 years ago0023161: Select publicly accessible data files for OCCT tests V6_5_4
abv [Sat, 10 Nov 2012 13:03:30 +0000 (17:03 +0400)]
0023161: Select publicly accessible data files for OCCT tests

Duplicated data files are removed.
New command testfile added for automation of analysis of the new data files before adding to the data base.

11 years ago0023500: MFC texture example is crashed when view closed
ibs [Tue, 13 Nov 2012 09:40:43 +0000 (13:40 +0400)]
0023500: MFC texture example is crashed when view closed

x64 sample build directory has been changed to win64

11 years agoUpdate version for OCCT 6.5.4 official release
bugmaster [Tue, 13 Nov 2012 06:31:17 +0000 (10:31 +0400)]
Update version for OCCT 6.5.4 official release

11 years ago0023489: Memory leak in TNaming_NamedShape
Roman Lygin [Fri, 9 Nov 2012 12:55:48 +0000 (16:55 +0400)]
0023489: Memory leak in TNaming_NamedShape

Added test for memory leak (bugs/ocaf/bug23489)
Missing return added in QANewBRepNaming_BooleanOperationFeat::IsWRCase2()
Adding test case and general procedure for trend checking for detection of memory leaks

11 years ago0023372: "diffimage" using in tests commands
abv [Fri, 9 Nov 2012 12:41:36 +0000 (16:41 +0400)]
0023372: "diffimage" using in tests commands

Comparison of images is implemented in testdiff command; output in HTML form generated
Add measurement of memory (working set) delta in test case execution
Add memory statistics to output of testdiff command
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Added function testsummarize: regenerate summary log of tests from test case logs
Command testdiff is protected against exception raised by diffimage if images have different formats

11 years ago0023193: Some triangles are inverted when writing an STL file
apn [Wed, 7 Nov 2012 10:12:03 +0000 (14:12 +0400)]
0023193: Some triangles are inverted when writing an STL file

Adding test case

11 years ago0004894: Problems with shading in vdisplay
apn [Wed, 7 Nov 2012 09:58:13 +0000 (13:58 +0400)]
0004894: Problems with shading in vdisplay

Adding test case

11 years ago0023289: IntCurve_IntPolyPolyGen.gxx, suspicious else
aba [Fri, 9 Nov 2012 11:47:10 +0000 (15:47 +0400)]
0023289: IntCurve_IntPolyPolyGen.gxx, suspicious else

if-else blocks in lines 805 and 822 were removed.
Corrected initialization of 'nbsamples' variable

11 years ago0023468: Include current branch name into default name of directory for test results
abv [Fri, 9 Nov 2012 11:41:29 +0000 (15:41 +0400)]
0023468: Include current branch name into default name of directory for test results

Default name for results directory is generated as "results_<branch>_<timestamp>".

In the HTML log of test execution references to script files are made HTML links to relevant files

Aded possibility to put data file for use by test script into subdirectory data of the script folder (function locate_data_file is extended to find such files).

Test demo/testsystem/A1 renamed to locate_data_file and corrected to account for the recent changes.

Default value of CSF_TestDataPath is defined pointing to $CASROOT/data

File psrse.rules corrected in accordance with changed message on missing data file

Interface of command testgrid changed:
- output directory (formerly required argument) is now defined by optional parameter -outdir
- by default tests are run in parallel mode with number of processes equal to number of system CPUs
- check for input arguments is made more strict
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Adjusting testing case demo draw getsource for current state of master

11 years ago0023500: MFC samples are crached on 3D visualisation
ibs [Fri, 9 Nov 2012 08:11:20 +0000 (12:11 +0400)]
0023500: MFC samples are crached on 3D visualisation

void FreeTexture() in OpenGl_TextureBox.cxx - avoid possible NULL-pointer dereference

after debug x64 compilation the executable viewer3d had been moved to the bin folder. now executable viewer3d located in bind folder.

11 years ago0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last...
vsr [Thu, 8 Nov 2012 12:45:25 +0000 (15:45 +0300)]
0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve

- Revert previous integration

11 years ago0023275: restore command set name of result variable incorrectly if absolute path...
abv [Thu, 1 Nov 2012 12:14:06 +0000 (16:14 +0400)]
0023275: restore command set name of result variable incorrectly if absolute path is used

Command restore corrected to set default name of the shape equal to filename without extension
Test case added (demo draw restore)

11 years ago0022779: Pixel format should be chosen to support stencil buffer
aba [Fri, 2 Nov 2012 12:05:16 +0000 (16:05 +0400)]
0022779: Pixel format should be chosen to support stencil buffer

Missing code in find_pixel_format() function was restored.
Coding rules applied
Added changes in GLX part

11 years ago0023383: Bugs in CDL documentation of visualization classes
aba [Fri, 2 Nov 2012 12:02:19 +0000 (16:02 +0400)]
0023383: Bugs in CDL documentation of visualization classes

Added lines in CDL documentation for SetDisplayPriority and SetViewingVolume.

11 years ago0023488: Make video recording functionality (OpenGl_AVIWriter) optional
kgv [Fri, 2 Nov 2012 11:56:36 +0000 (15:56 +0400)]
0023488: Make video recording functionality (OpenGl_AVIWriter) optional

CSF_AviLibs missing in EXTERNLIB of TKOpenGl toolkit. This cause incorrect project generation.
HAVE_VIDEOCAPTURE now should be defined to enable video recording capabilities on Windows.

11 years ago0023116: Add Standard_EXPORT declaration to method Poly_MakeLoops::GetHangingLinks
ilv [Thu, 25 Oct 2012 10:08:25 +0000 (14:08 +0400)]
0023116: Add Standard_EXPORT declaration to method Poly_MakeLoops::GetHangingLinks

11 years ago0022754: Add forgotten include to BRepBlend_BlendTool.lxx
ilv [Thu, 25 Oct 2012 10:01:41 +0000 (14:01 +0400)]
0022754: Add forgotten include to BRepBlend_BlendTool.lxx

11 years ago0023147: Suspicious if (5)
omy [Fri, 2 Nov 2012 11:18:21 +0000 (15:18 +0400)]
0023147: Suspicious if (5)

Removed non-executed parts of code because

   Standard_Boolean s1Point = Standard_False;
   Standard_Boolean s2Point = Standard_False;
   Standard_Boolean vClosed = Standard_False;

and never changed thus some parts of code are non-reachable.
Fixed mistake with 'else' without corresponding 'if'.
Commented unreachable code part.

11 years ago0023140: Suspicious if
aba [Wed, 17 Oct 2012 06:38:08 +0000 (10:38 +0400)]
0023140: Suspicious if

Condition that is always true was replaced on assigning a variable 'Tol' to Precision::Confusion.

11 years ago0023145: Suspicious else (2)
ika [Tue, 16 Oct 2012 14:10:31 +0000 (18:10 +0400)]
0023145: Suspicious else (2)

else statement was incorrect, is has been changed.

11 years ago0023288: IntCurve_IntConicConic_1.cxx: if(A) {...} else if (A){...} pattern detected.
aba [Fri, 12 Oct 2012 11:29:57 +0000 (15:29 +0400)]
0023288: IntCurve_IntConicConic_1.cxx: if(A) {...} else if (A){...} pattern detected.

Unrealizable condition ( second condition block 'else if(d0102>AbsR1mR2-Tol)' ) was deleted.

11 years ago0023476: Integration of test grid "cge" into the new testing system
ski [Thu, 18 Oct 2012 08:58:53 +0000 (12:58 +0400)]
0023476: Integration of test grid "cge" into the new testing system

11 years ago0023480: New compiler warnings on MS VC 9
abv [Mon, 22 Oct 2012 03:08:44 +0000 (07:08 +0400)]
0023480: New compiler warnings on MS VC 9

Unused local variables eliminated

11 years ago0022871: Step Reader raises exception on invalid entity (null swept curve)
ika [Fri, 26 Oct 2012 12:57:47 +0000 (16:57 +0400)]
0022871: Step Reader raises exception on invalid entity (null swept curve)

checking for null swept curve was added
Adding test case

11 years ago0023448: Fix QT samples for Mac OS X
dbv [Thu, 27 Sep 2012 11:58:32 +0000 (15:58 +0400)]
0023448: Fix QT samples for Mac OS X

Fixed QT samples so they can be built on Mac OS X with qt-x11

11 years ago0023464: Projection algorithm produces wrong results.
jgv [Fri, 26 Oct 2012 12:04:01 +0000 (16:04 +0400)]
0023464: Projection algorithm produces wrong results.

including of .hxx file added
Correction of computation of intersection point
Integration of test cases for this issue

11 years agoAdjusting testing cases for current state of OCCT.
bugmaster [Wed, 24 Oct 2012 09:37:23 +0000 (13:37 +0400)]
Adjusting testing cases for current state of OCCT.

11 years ago0023472: BRepAlgoAPI_Section algorithm fails with exception while intersecting two...
jgv [Fri, 19 Oct 2012 14:53:19 +0000 (18:53 +0400)]
0023472: BRepAlgoAPI_Section algorithm fails with exception while intersecting two faces

11 years ago0023338: The 'then' statement is equivalent to the 'else' statement. IGEStoBRep_TopoS...
gka [Thu, 11 Oct 2012 13:56:32 +0000 (17:56 +0400)]
0023338: The 'then' statement is equivalent to the 'else' statement. IGEStoBRep_TopoSurface.cxx

11 years ago0023367: New functionality restoring the middle path of pipe-like shape
jgv [Fri, 19 Oct 2012 14:28:46 +0000 (18:28 +0400)]
0023367: New functionality restoring the middle path of pipe-like shape

11 years ago0023470: Boolean Fuse between two edges fails
pkv [Fri, 19 Oct 2012 14:22:12 +0000 (18:22 +0400)]
0023470: Boolean Fuse between two edges fails

11 years ago0023354: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
ika [Fri, 19 Oct 2012 14:19:18 +0000 (18:19 +0400)]
0023354: The use of 'if (A) {...} else if (A) {...}' pattern was detected.

second else was deleted, now "D" is hotkey for reset view and removing selected object is impossible by hotkeys
help message was rewrited according to these changes, also hotkeys "R","L" and "B" added to help
Minor remarks: viewer commands help fulfilled with U; Z; ","; "." . Comments revised.

11 years ago0023434: Generate images in lossless format (PNG) instead of lossy GIF currently...
miv [Fri, 12 Oct 2012 13:18:48 +0000 (17:18 +0400)]
0023434: Generate images in lossless format (PNG) instead of lossy GIF currently used in test log

11 years ago0023351: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
omy [Fri, 19 Oct 2012 14:09:57 +0000 (18:09 +0400)]
0023351: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
Got rid of duplicated code.
Got rid of redundant conditions' checks in Standard_Integer TOPOC(Draw_Interpretor& interpretor,Standard_Integer na,const char** a) function.

11 years agoAdjusting testing case for current state of OCCT V6_5_4_beta1
bugmaster [Wed, 17 Oct 2012 11:35:39 +0000 (15:35 +0400)]
Adjusting testing case for current state of OCCT

11 years agoAdjusting testing cases for current state of OCCT
bugmaster [Tue, 16 Oct 2012 10:35:59 +0000 (14:35 +0400)]
Adjusting testing cases for current state of OCCT

11 years ago0023367: New functionality restoring the middle path of pipe-like shape
jgv [Tue, 16 Oct 2012 09:12:36 +0000 (13:12 +0400)]
0023367: New functionality restoring the middle path of pipe-like shape
Version 2
Small correction
Adding test cases

11 years agoUpdate OCCT version up to 6.5.4beta1
kgv [Fri, 12 Oct 2012 13:07:58 +0000 (17:07 +0400)]
Update OCCT version up to 6.5.4beta1

11 years ago0023345: Crash when destroying OpenGl_Element
kgv [Fri, 12 Oct 2012 12:56:23 +0000 (16:56 +0400)]
0023345: Crash when destroying OpenGl_Element

OpenGl_PrimitiveArray::Release() - avoid possible NULL-pointer dereference
OpenGl_GraphicDriver::RemoveView() - release GL resources within removing last view
Fixed OCC280 test command - do not remove old view until new one is initialized

11 years ago0023466: Move OSD_FontMgr class outside TKernel
dbv [Thu, 11 Oct 2012 13:45:15 +0000 (17:45 +0400)]
0023466: Move OSD_FontMgr class outside TKernel

Created new package Font in TKService.
Classes FontMgr and SystemFont have been moved from OSD package to Font package.

11 years ago0023098: Cppcheck warnings/errors in QA files
dbv [Fri, 12 Oct 2012 10:23:00 +0000 (14:23 +0400)]
0023098: Cppcheck warnings/errors in QA files

Fix for cppcheck warnings
Warning fixes

11 years ago0023266: cppcheck warning: Logical disjunction always evaluates to true
ika [Tue, 9 Oct 2012 14:00:27 +0000 (18:00 +0400)]
0023266: cppcheck warning: Logical disjunction always evaluates to true

Logical disjunction changed to  Logical conjunction, it evaluates true only then number of parameters isn't right.

11 years ago0023467: BRepOffsetAPI_MakeOffset throws StdFail_NotDone and not Standard_Constructio...
Pawel [Tue, 9 Oct 2012 11:01:21 +0000 (13:01 +0200)]
0023467: BRepOffsetAPI_MakeOffset throws StdFail_NotDone and not Standard_ConstructionError

11 years ago0023428: Extend OpenGl_Context to use Geometry Shaders extension
osa [Fri, 12 Oct 2012 09:37:55 +0000 (13:37 +0400)]
0023428: Extend OpenGl_Context to use Geometry Shaders extension
Additional corrective integration

11 years agoUpdate vc10 project for Animation MVC sample.
bugmaster [Thu, 11 Oct 2012 13:26:21 +0000 (17:26 +0400)]
Update vc10 project for Animation MVC sample.

11 years ago0023450: Test bugs vis CR23407_1 fails
apn [Thu, 11 Oct 2012 10:44:35 +0000 (14:44 +0400)]
0023450: Test bugs vis CR23407_1 fails
Files parse.rules corrected (point 2 in bug description)
Adjusting testing cases for current state of master.
Modified test cases CR23407_1 and CR23407_2

11 years ago0023438: Update test cases for new organization of data files
miv [Thu, 11 Oct 2012 10:24:12 +0000 (14:24 +0400)]
0023438: Update test cases for new organization of data files

Modifications:
1.Test cases
2. locate_data_file from DrawResources/TestCommands.tcl
Fix for mesh end
Adjusting testing cases for current state of master using new organization of data files

11 years ago0021189: Clean up KAS:dev:ros and Products
bugmaster [Tue, 9 Oct 2012 12:29:43 +0000 (16:29 +0400)]
0021189: Clean up KAS:dev:ros and Products

VoxelDemo is modified to be compliant with OCC 6.5.4
Update of environment files and VS projects.

11 years agoAdjusting test cases for current state of OCCT
bugmaster [Mon, 8 Oct 2012 12:08:34 +0000 (16:08 +0400)]
Adjusting test cases for current state of OCCT

11 years ago0023456: Update MFC samples for OCCT 6.5.4
bugmaster [Fri, 5 Oct 2012 10:25:15 +0000 (14:25 +0400)]
0023456: Update MFC samples for OCCT 6.5.4
Update About dialog
Update reading files in OCAF sample

11 years ago0023137: Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
pkv [Fri, 5 Oct 2012 10:20:32 +0000 (14:20 +0400)]
0023137: Class BRepAlgoAPI_Cut does not made correct result on attached shapes.

class ShellFaceClassifier;
   - method:
void BOP_ShellFaceClassifier::ResetElement(const TopoDS_Shape& theElement)

The order of choice a testing point for the element has been changed.
The following order is:
-point inside an edge
-point as an vertex-point
-point inside UV-range of a surface

Adding test cases
Expected sduare is corrected

11 years ago0021189: Clean up KAS:dev:ros and Products
vro [Fri, 5 Oct 2012 10:17:17 +0000 (14:17 +0400)]
0021189: Clean up KAS:dev:ros and Products

Removal of VoxelClient
VoxelDemo sample is redesigned so that it doesn't require compilation of OpenGl classes. It refers to TKOpenGl.dll as to an external library.
Some minor bugs are fixed in OCAF and Viewer 3d standard MFC samples

11 years ago0023234: Incorrect behavior of AIS_Trihedron
kgv [Fri, 5 Oct 2012 10:06:32 +0000 (14:06 +0400)]
0023234: Incorrect behavior of AIS_Trihedron

AIS_InteractiveContext::myLocalContexts map accessed before newly created AIS_LocalContext bound to it
Minor remarks: comments revised.
Adding test case
Adding new draw command
Small correction of tests

11 years ago0023453: Infinite loop on cut operation
abv [Fri, 5 Oct 2012 09:58:17 +0000 (13:58 +0400)]
0023453: Infinite loop on cut operation

In IntTools_FClass2d.cxx, do {} while {} cycle is replaced by for () cycle to avoid possible infinite loop.
Check for degeneration is made with Precision::Confusion() precision instead of comparison with 0.
Correction of misprint

11 years ago0023404: Create SquareConfusion function in Precision package for speed and convenience
abk [Fri, 5 Oct 2012 09:55:16 +0000 (13:55 +0400)]
0023404: Create SquareConfusion function in Precision package for speed and convenience

SquareConfusion function was created in FoundationClasses module -> TKMath toolkit -> Precision package.
The function returns square of Precision::Confusion().
SquareConfusion function was corrected in FoundationClasses module -> TKMath toolkit -> Precision package.
Squares of Precision::Confusion() were replaced by Precision::SquareConfusion().

11 years ago0023431: BOP Cut produces invalid shape
pkv [Fri, 5 Oct 2012 09:52:19 +0000 (13:52 +0400)]
0023431: BOP Cut produces invalid shape

11 years ago0023125: Wrong results done by classifier algorithm for a point and a solid.
pkv [Mon, 1 Oct 2012 08:09:47 +0000 (12:09 +0400)]
0023125: Wrong results done by classifier algorithm for a point and a solid.

class :BRepClass3d_SolidExplorer;
   - method:
Standard_Integer BRepClass3d_SolidExplorer::OtherSegment(const gp_Pnt& P,
                               gp_Lin& L,
                               Standard_Real& _Par)

The object of the type Extrema_ExtPS is created using real parametric ranges (U,V) of the surface.

11 years ago0023442: Provide the access to the functionality of Geom2dHatch_Hacher via IntTools_C...
pkv [Fri, 5 Oct 2012 09:45:23 +0000 (13:45 +0400)]
0023442: Provide the access to the functionality of Geom2dHatch_Hacher via IntTools_Context

class IntTools_Context
- the method:
Geom2dHatch_Hatcher& IntTools_Context::Hatcher(const TopoDS_Face& aF)
has been added.
The method returns the reference to 2D hatcher for given face <aF>

class IntTools_Context
- the method: IntTools_Context::~IntTools_Context()
has been modified in terms of I.1.

11 years ago0023423: Test system does not get log if DRAW crashes or gets killed
abv [Fri, 7 Sep 2012 08:33:12 +0000 (12:33 +0400)]
0023423: Test system does not get log if DRAW crashes or gets killed

Avoid using dlog in grid tests (command testgrid), in order to get some output even if DRAW crashes.
Command test now accepts argument echo to get echo immediately (but no log processing).
Test case for checking log processing in case of premature exit of DRAW is added (demo testsystem premature_exit).

11 years ago0023428: Extend OpenGl_Context to use Geometry Shaders extension
osa [Fri, 5 Oct 2012 09:28:57 +0000 (13:28 +0400)]
0023428: Extend OpenGl_Context to use Geometry Shaders extension

11 years ago0023388: Boolean operations hang up trying to build section of two customer's shapes
jgv [Thu, 20 Sep 2012 10:33:48 +0000 (14:33 +0400)]
0023388: Boolean operations hang up trying to build section of two customer's shapes

11 years ago0023425: diffimage generate OSD_Exception during execution
kgv [Thu, 27 Sep 2012 08:43:54 +0000 (12:43 +0400)]
0023425: diffimage generate OSD_Exception during execution

diffimage out-of-image access during border filter execution

Verify neighbor pixel position for out-of-image access
A list of referenced articles and books is added to Image_Diff.hxx file.

Adding test case bugs/vis/CR23425

Image_Diff - fix compilation error on x86_64 target using msvc
There no std::abs for ptrdiff_t in Microsoft STL implementation

Image_PixMap - fixed compilation on gcc 3

Removed extra newlines in TCL script
Image_Diff, move back extra modifications

11 years ago0023316: OpenGl package can not be compiled on RedHat40-64
kgv [Fri, 21 Sep 2012 12:27:23 +0000 (16:27 +0400)]
0023316: OpenGl package can not be compiled on RedHat40-64

OpenGl_Window avoid early unprotected glx.h inclusion
which may cause system glext.h inclusion

11 years ago0023394: Problem with BRepOffset_MakeOffset on a cylindrical face
emv [Thu, 27 Sep 2012 08:29:04 +0000 (12:29 +0400)]
0023394: Problem with BRepOffset_MakeOffset on a cylindrical face

11 years ago0023358: Unitialized variables used.
mkv [Fri, 21 Sep 2012 13:43:13 +0000 (17:43 +0400)]
0023358: Unitialized variables used.

Draw command was fixed

11 years ago0023129: BRepTools::OuterShell() works wrong - it always returns the first shell
pkv [Thu, 27 Sep 2012 08:03:12 +0000 (12:03 +0400)]
0023129: BRepTools::OuterShell() works wrong - it always returns the first shell

11 years ago0023252: Fillet regression
emv [Thu, 20 Sep 2012 04:29:26 +0000 (08:29 +0400)]
0023252: Fillet regression

11 years ago0023433: Compiler warnings in Graphic3d_ArrayOfPrimitives.lxx
abv [Fri, 14 Sep 2012 09:09:39 +0000 (13:09 +0400)]
0023433: Compiler warnings in Graphic3d_ArrayOfPrimitives.lxx

Conversion of color components from real [0,1] to char [0,255] corrected to avoid compiler warnings

11 years ago0023246: TKOpenGl viewer created without depth buffer on some X11 implementations
kgv [Tue, 11 Sep 2012 05:51:12 +0000 (09:51 +0400)]
0023246: TKOpenGl viewer created without depth buffer on some X11 implementations

Apply workaround on Mac OS platforms too
to ensure GL context created with depth buffer.

11 years ago0023327: There are identical sub-expressions to the left and to the right of the...
szy [Fri, 14 Sep 2012 13:53:59 +0000 (17:53 +0400)]
0023327: There are identical sub-expressions to the left and to the right of the '&&' operator

11 years ago0023429: BRepFeat_SplitShape algorithm misses some section edges while building resul...
jgv [Fri, 14 Sep 2012 13:51:20 +0000 (17:51 +0400)]
0023429: BRepFeat_SplitShape algorithm misses some section edges while building result from customer's shape

Adding test case bugs/modalg/CR23429

11 years ago0022888: Wrong shape result imported from IGES file.
apn [Fri, 14 Sep 2012 13:38:41 +0000 (17:38 +0400)]
0022888: Wrong shape result imported from IGES file.

Adding test case bugs/iges/CR22888
Modified test case bugs/iges/CR22888

11 years ago0023389: (OCC 6.5.3 regression) BRepAlgoAPI_Cut returns invalid solid
jgv [Fri, 14 Sep 2012 13:27:38 +0000 (17:27 +0400)]
0023389: (OCC 6.5.3 regression) BRepAlgoAPI_Cut returns invalid solid

Adding test case boolean/bopcut_complex/P8

11 years ago0023414: Remove deprecated classes Xw_PixMap and WNT_PixMap
kgv [Fri, 14 Sep 2012 13:25:19 +0000 (17:25 +0400)]
0023414: Remove deprecated classes Xw_PixMap and WNT_PixMap

11 years ago0023426: Tool to compare two runs of tests on the same station
abv [Tue, 11 Sep 2012 06:37:11 +0000 (10:37 +0400)]
0023426: Tool to compare two runs of tests on the same station

New command testdiff added to compare two logs of test run. Currently only CPU times are compared, comparison of images can be added later.

11 years ago0021977: Unsafe implementation of TNaming_Builder
szy [Fri, 14 Sep 2012 13:20:57 +0000 (17:20 +0400)]
0021977: Unsafe implementation of TNaming_Builder

The code is corrected to create instances of TNaming_Builder class dynamically. Note that they cannot be created as local variables as they should be instantiated only when needed and then reused for the subshapes of the same type in cycle.

Code around is cleaned from tabs and duplicated fragments.

TNaming_Builder class is changed to use Handles instead of C pointers in its fields.
This should protect from possible access to the freed memory if attribute is deleted while instance of TNaming_Builder is still alive.
In addition, method to construct dummy vertex for storing orientation is simplified.

11 years ago0023119: TNaming_Selector::Solve() fails (changes from single face to compound of...
szy [Fri, 14 Sep 2012 13:18:59 +0000 (17:18 +0400)]
0023119: TNaming_Selector::Solve() fails (changes from single face to compound of multiple faces)
Patch for Naming improvement.

1). Added persistence.
2). Removed not supported evolution - Replace.

Fix of QADraw commands.
Modified test case: caf named_shape F6

1). Redesigned DNaming commands: SelectShape & SolveSelection
2). Added 2 new scripts: F8 & F9

Adding test cases caf/named_shape/F8 F9

11 years ago0023086: OCC 6.5.2 DNaming bug
szy [Fri, 14 Sep 2012 12:36:12 +0000 (16:36 +0400)]
0023086: OCC 6.5.2 DNaming bug

The code is corrected to create instances of TNaming_Builder class dynamically. Note that they cannot be created as local variables as they should be instantiated only when needed and then reused for the subshapes of the same type in cycle.
Code around is cleaned from tabs and duplicated fragments.