7 years ago0024659: misprints in draw documentation
ibs [Tue, 25 Feb 2014 06:53:32 +0000 (10:53 +0400)]
0024659: misprints in draw documentation

7 years ago0024364: Document system should use local MathJax also
ibs [Thu, 27 Feb 2014 14:33:30 +0000 (18:33 +0400)]
0024364: Document system should use local MathJax also

the new ability choosing of the location of MathJax was introduced
new argument was added to gendoc.bat script
MathJax choice was updated for CHM articles
Minor corrections of documentation

7 years ago0024599: Tools for interacting with DRAW from Visual Studio debugger
abv [Thu, 27 Feb 2014 14:22:52 +0000 (18:22 +0400)]
0024599: Tools for interacting with DRAW from Visual Studio debugger

Global functions are added to allow a user performing DRAW commands from VS Command Window when DRAW is interrupted on a breakpoint.
Previously existing functions are adapted to work with Visual Studio debugger (Command Window).
A manual describing use of these functions and other debugging facilities and some hints is added to Developer Guides.
Minor corrections and refinement of debug.md.

7 years ago0024655: Boolean common produces incorrect result
pkv [Thu, 27 Feb 2014 14:15:55 +0000 (18:15 +0400)]
0024655: Boolean common produces incorrect result

class BOPAlgo_WireSplitter
   - method:
void BOPAlgo_WireSplitter::SplitBlock
                 (const TopoDS_Face& myFace,
                   BOPTools_ConnexityBlock& aCB);

 - static functions:
void RefineAngles(const TopoDS_Face& myFace,
                  const BOPCol_ListOfShape& myEdges,
                  BOPAlgo_IndexedDataMapOfShapeListOfEdgeInfo& mySmartMap);

void RefineAngles(const TopoDS_Vertex& aV,
                  const TopoDS_Face& myFace,
                  const BOPCol_MapOfShape& aMBE,
                  BOPAlgo_ListOfEdgeInfo& aLEI);

Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA);

The treatment p-curves convergent in node.
The refining the angles of p-curves taking into account
bounging curves if exist.

Test case for issue CR24655

7 years agoDeleted TODO which is not reproduced in Debug mode.
apn [Fri, 21 Feb 2014 07:50:37 +0000 (11:50 +0400)]
Deleted TODO which is not reproduced in Debug mode.

7 years ago0024648: Different types of intersection curves between Cone and Torus with a differe...
emv [Thu, 20 Feb 2014 13:14:04 +0000 (17:14 +0400)]
0024648: Different types of intersection curves between Cone and Torus with a different order of arguments

Correct treatment of the cases with Cone and Torus.
Test cases for issue CR24648

7 years ago0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the sourc...
pkv [Thu, 20 Feb 2014 13:07:51 +0000 (17:07 +0400)]
0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the source shape

void BOPAlgo_CheckerSI::PrepareCopy()
has been added.
   - provides the copy of the argument
   - provides links between the copy and the original
- protected method:
void BOPAlgo_CheckerSI::PostTreatCopy()
has been added.
Purpose: provides post treat actions wit the copy.

void BOPAlgo_PaveFiller::Perform()
The try/catch mechanism is used inside the method

Standard_Integer bopcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

Standard_Integer bopargcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.


Test cases for issue CR24620
Small correction of text case for issue CR24620

7 years ago0024627: Extrema 2d between an arc of circle and an ellipse crashes
ifv [Thu, 20 Feb 2014 12:59:35 +0000 (16:59 +0400)]
0024627: Extrema 2d between an arc of circle and an ellipse crashes

Test case for issue CR24627

7 years ago0024618: Embedding vertex in BOP depends on the order of arguments
pkv [Thu, 20 Feb 2014 12:53:03 +0000 (16:53 +0400)]
0024618: Embedding vertex in BOP depends on the order of arguments

Changes: class BOPDS_DS
   - method:
void BOPDS_DS::AloneVertices(const Standard_Integer theI,
                             BOPCol_ListOfInteger& theLI)const
The condition for DS-index of a vertex has been corrected

class BOPTools_AlgoTools3D
   - static function:
Standard_Boolean HasGeometry(const TopoDS_Shape& aS)
The returnig value  has been corrected for shapes of vertex type

Modified entities:

Test cases for issue CR24618

7 years ago0024635: Eliminate trivial compiler warnings by GCC in Debug mode
abv [Fri, 14 Feb 2014 12:03:01 +0000 (16:03 +0400)]
0024635: Eliminate trivial compiler warnings by GCC in Debug mode

7 years ago0024642: TKOpenGl, OpenGl_Text - rotation angle is ignored in case of 2D text
osa [Wed, 19 Feb 2014 10:27:15 +0000 (14:27 +0400)]
0024642: TKOpenGl, OpenGl_Text - rotation angle is ignored in case of 2D text

7 years ago0024641: TKOpenGl - public methods of OpenGl_Text and OpenGl_AspectText classes are...
osa [Wed, 19 Feb 2014 10:17:48 +0000 (14:17 +0400)]
0024641: TKOpenGl - public methods of OpenGl_Text and OpenGl_AspectText classes are not exported

7 years ago0024640: Broken logic of check of variable for zero in IntCurvesFace_Intersector...
abv [Wed, 19 Feb 2014 04:54:49 +0000 (08:54 +0400)]
0024640: Broken logic of check of variable for zero in IntCurvesFace_Intersector constructor

The check is fixed to avoid FPE division by zero

7 years ago0024558: Boolean operation can not create all results solids which should be built.
emv [Wed, 12 Feb 2014 11:40:05 +0000 (15:40 +0400)]
0024558: Boolean operation can not create all results solids which should be built.
Corrections in checking 2d distances when splitting wires.
Test case for the issue.

7 years ago0024624: Lost word in license statement in source files
abv [Thu, 20 Feb 2014 12:06:26 +0000 (16:06 +0400)]
0024624: Lost word in license statement in source files

License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.

7 years ago0024530: TKMesh - remove unused package IntPoly
aml [Thu, 13 Feb 2014 05:39:50 +0000 (09:39 +0400)]
0024530: TKMesh - remove unused package IntPoly

Deletion of package IntPoly.

7 years agoUpdate testing case for issue 0024499
apn [Fri, 14 Feb 2014 07:56:57 +0000 (11:56 +0400)]
Update testing case for issue 0024499
Added XSDRAW instead of XDE

7 years agoAdded QA command OCC24086 and test case bugs/modalg_5/bug24086 for issue 24086.
apn [Thu, 13 Feb 2014 09:44:30 +0000 (13:44 +0400)]
Added QA command OCC24086 and test case bugs/modalg_5/bug24086 for issue 24086.

7 years agoAdded test case bugs/modalg_5/bug24074 for issue 24074.
apn [Thu, 13 Feb 2014 09:40:26 +0000 (13:40 +0400)]
Added test case bugs/modalg_5/bug24074 for issue 24074.

7 years agoAdded test case bugs/step/bug24055 for issue 24055.
apn [Thu, 13 Feb 2014 09:37:55 +0000 (13:37 +0400)]
Added test case bugs/step/bug24055 for issue 24055.

7 years agoAdded QA command OCC24051 and test case bugs/vis/bug24051 for issue 24051.
apn [Thu, 13 Feb 2014 09:25:57 +0000 (13:25 +0400)]
Added QA command OCC24051 and test case bugs/vis/bug24051 for issue 24051.

7 years agoAdded QA command OCC24012 and test case bugs/modalg_5/bug24012 for issue 24012.
apn [Thu, 13 Feb 2014 09:22:06 +0000 (13:22 +0400)]
Added QA command OCC24012 and test case bugs/modalg_5/bug24012 for issue 24012.

7 years agoAdded test case bugs/vis/bug23984 for issue 23984.
apn [Thu, 13 Feb 2014 09:17:37 +0000 (13:17 +0400)]
Added test case bugs/vis/bug23984 for issue 23984.

7 years ago0024585: Wrong pcurve of the section curve
nbv [Wed, 12 Feb 2014 10:21:54 +0000 (14:21 +0400)]
0024585: Wrong pcurve of the section curve

PCurve is extended to surface boundary forcefully.
It is made by finding some additional points (if it is possibly).
"bopcurves" DRAW-command returns number of found 3D-curves and (as an option) 2D-curve (see help for more detail information).

Test cases for issue CR24585

7 years ago0024358: TKV3d - connected structures are not re-computed on device lost
aba [Thu, 13 Feb 2014 09:09:42 +0000 (13:09 +0400)]
0024358: TKV3d - connected structures are not re-computed on device lost

Graphic3d_StructureManager::ReComputeStructures() method was corrected to consider all child (connected) structures.
Corrected remarks: added image dump in test case; corrected method name.

7 years ago0024402: TKOpenGl - Implement clipping planes in Phong GLSL program
duv [Thu, 13 Feb 2014 09:06:51 +0000 (13:06 +0400)]
0024402: TKOpenGl - Implement clipping planes in Phong GLSL program

Limit number of lights (breaks compatibility with old hardware).

7 years ago0024323: TKOpenGl - spot light sources are not handled in Phong GLSL program
duv [Wed, 12 Feb 2014 10:42:27 +0000 (14:42 +0400)]
0024323: TKOpenGl - spot light sources are not handled in Phong GLSL program

Limit number of lights (breaks compatibility with old hardware).

7 years ago0024499: fixshape produces inverted solid
apn [Thu, 13 Feb 2014 09:00:05 +0000 (13:00 +0400)]
0024499: fixshape produces inverted solid

Bug is not reproduced in current master IR-2014-02-06.
Test bugs/modalg_5/bug24499 was added.

7 years ago0024586: Pipe construction is failed
jgv [Thu, 13 Feb 2014 08:46:57 +0000 (12:46 +0400)]
0024586: Pipe construction is failed

Test case for issue CR24586

7 years ago0024412: TKV3d, Dimensions - Possibility to customize text position was lost:
aba [Thu, 13 Feb 2014 08:43:56 +0000 (12:43 +0400)]
0024412: TKV3d, Dimensions - Possibility to customize text position was lost:

AIS_Dimension::GetTextPosition() and AIS_Dimension::SetTextPosition() methods were added.
Added possibility to set and unset text label alignment respectively to the attach points after text position changed.
Added test cases to check text positioning with dimension parameters and with setting 3D point.
Corrected DRAW commands vmovedim, vangledim, vdistdim, vradiusdim.
Corrections of AIS_Dimension::SetTextPosition(): aspect parameters are not changed inside it.
Layout mode was removed; test cases and vdimparams, vdimension  commands were corrected.
remarks: coding style, removing redundant code of LayoutMode enumeration.

7 years ago0024547: Convertation of the generic classes to the non-generic (math).
dln [Tue, 21 Jan 2014 08:15:53 +0000 (12:15 +0400)]
0024547: Convertation of the generic classes to the non-generic (math).

- class "math_DoubleTab" was converted to the non-generic class. Some changes were made in the class "math_Matrix". And some stylish changes were made.

- class "math_SingleTab" was converted to the non-generic template class. And classes "math_Vector" and "math_IntegerVector" converted to the non-cdl, because they use template class "math_Vector". Some stylish changes were made.

7 years ago0024607: Fix some GCC compiler warnings
abv [Sat, 8 Feb 2014 13:26:06 +0000 (17:26 +0400)]
0024607: Fix some GCC compiler warnings

- enumeration value not handled in switch in Aspect_ColorScale.cxx, TNaming_DeltaOnModification.cxx
- comparison between signed and unsigned integer expressions in NIS_Triangulated.cxx, OSD_MAllocHook.cxx, RWStl.cxx
- static function defined or declared but not used in OpenGl_Workspace_2.cxx, ProjLib_ComputeApprox.cxx

7 years ago0024603: The code in TCollection_AsciiString::Search* methods can be simplified
szv [Thu, 28 Mar 2013 08:13:26 +0000 (12:13 +0400)]
0024603: The code in TCollection_AsciiString::Search* methods can be simplified

Small improvement in TCollection_AsciiString::Search.

7 years ago0023427: Unused C-sources in OSD package
mmv [Wed, 5 Feb 2014 13:20:39 +0000 (17:20 +0400)]
0023427: Unused C-sources in OSD package

Deleted unused sources in OSD package

7 years agoAdded test case demo/samples/raytrace that show raytrace mode.
apn [Fri, 7 Feb 2014 10:47:38 +0000 (14:47 +0400)]
Added test case demo/samples/raytrace that show raytrace mode.

7 years agoAdded TODO in test case bugs/modalg_3/bug615 in Debug mode (test case is bad, but...
apn [Fri, 7 Feb 2014 10:45:05 +0000 (14:45 +0400)]
Added TODO in test case bugs/modalg_3/bug615 in Debug mode (test case is bad, but behavior changes).

7 years agoReturn cpulimit TODOs because test case doesn't execute always (it crashes by cpulimi...
apn [Fri, 7 Feb 2014 10:42:56 +0000 (14:42 +0400)]
Return cpulimit TODOs because test case doesn't execute always (it crashes by cpulimit in Debug mode).

7 years ago0024597: Missing internal vertex in the result of General Fuse Operation
pkv [Thu, 6 Feb 2014 07:21:47 +0000 (11:21 +0400)]
0024597: Missing internal vertex in the result of General Fuse Operation

class BOPDS_DS
   - method:
void BOPDS_DS::Init()
   - method:
void BOPDS_DS::FaceInfoIn
  (const Standard_Integer theF,
   BOPDS_IndexedMapOfPaveBlock& theMPB,
   BOPCol_MapOfInteger& theMI)
Add the information about internal vertices on faces to the Data Structure

Test case for issue CR24597

7 years ago0023884: Boolean Fuse between two faces fails
pkv [Thu, 6 Feb 2014 07:18:55 +0000 (11:18 +0400)]
0023884: Boolean Fuse between two faces fails

fix for the bug v1
fix for the bug v1.1
Test case for issue CR23884

7 years ago0024202: Support class methods as callbacks for Draw Harness commands
kgv [Wed, 5 Feb 2014 09:17:29 +0000 (13:17 +0400)]
0024202: Support class methods as callbacks for Draw Harness commands

7 years ago0024591: Modification of tests in group "sewing"
ama [Mon, 3 Feb 2014 13:11:17 +0000 (17:11 +0400)]
0024591: Modification of tests in group "sewing"

Proper use of "freebounds" command in sewing testgrid: pload XSDRAW, reference data for checking free edges were added.

7 years ago0024472: Wrong section curves
nbv [Thu, 6 Feb 2014 07:12:09 +0000 (11:12 +0400)]
0024472: Wrong section curves

1. Checking, if intersection curve is collapsed, is added. (file GeomInt_LineConstructor.cxx)
2. Earlier, intersection line was considered as valid if only mid-point of every interval of this line is into two intersected surfaces (with given tolerance). That's no good because after inserting of new points, old points, which is considered as valid only because they are into beginning or into end of interval (therefore, they was not checked), moved to mid of interval and became invalid. Therefore, checking for first and last points was added. (file GeomInt_LineConstructor.cxx)
3. Intersection line became valid (see bug description) after adding of new additional points into it (file IntPatch_PrmPrmIntersection.cxx). Methods for finding and adding of new points were added. (file IntWalk_PWalking_1.gxx)
Some test cases were changed.
Test cases for issue CR24472

7 years ago0024208: Optimization of the edge-edge and edge-face intersection algorithms
emv [Thu, 6 Feb 2014 07:07:02 +0000 (11:07 +0400)]
0024208: Optimization of the edge-edge and edge-face intersection algorithms

New Edge/Edge intersection algorithm (based on the intersection between edges bounding boxes).
Small correction.

7 years ago0024590: Crash when processing OpenGl_BndBoxPrs objects
kgv [Thu, 6 Feb 2014 07:01:00 +0000 (11:01 +0400)]
0024590: Crash when processing OpenGl_BndBoxPrs objects

Eliminate TelType enumeration
Cosmetics, warnings

7 years ago0024588: Fix some ICC warning fixes
abv [Thu, 6 Feb 2014 06:57:56 +0000 (10:57 +0400)]
0024588: Fix some ICC warning fixes

Some of ICC warning fixes reported in 0024574 are fixed
Remove redundant ifdef

7 years ago0024587: Separate TCL samples for ray tracing and creation of bottle
abv [Mon, 3 Feb 2014 06:21:23 +0000 (10:21 +0400)]
0024587: Separate TCL samples for ray tracing and creation of bottle

New sample created for ray tracing in DRAW: samples/tcl/raytrace.tcl, rendering OCCT bottle with glass on a rectangular table, with shadows and reflections (if OpenCL is available). Sample bottle.tcl retains only modeling part.

7 years agoModified test case (increase cpulimit in Debug mode)
bugmaster [Fri, 31 Jan 2014 08:56:09 +0000 (12:56 +0400)]
Modified test case (increase cpulimit in Debug mode)

7 years agoAdjusting of testing case for current state of OCCT
bugmaster [Fri, 31 Jan 2014 08:53:56 +0000 (12:53 +0400)]
Adjusting of testing case for current state of OCCT

7 years ago0024523: Colors and layers are lost during loopback test (read-write-read)
szv [Thu, 9 Jan 2014 11:49:16 +0000 (15:49 +0400)]
0024523: Colors and layers are lost during loopback test (read-write-read)

Command XGetShapeColor corrected to return generic color

7 years ago0024573: Wrong result of 2d-offset algorithm on customer's shape
jgv [Thu, 30 Jan 2014 12:07:12 +0000 (16:07 +0400)]
0024573: Wrong result of 2d-offset algorithm on customer's shape

Test cases for issue CR24573

7 years ago0024024: Slow import of specific STEP data
apn [Thu, 30 Jan 2014 08:33:15 +0000 (12:33 +0400)]
0024024: Slow import of specific STEP data

Added test case bugs/step/bug24024

7 years ago0024555: Visualization - the same text is rendered with shift at second time
kgv [Thu, 30 Jan 2014 10:19:28 +0000 (14:19 +0400)]
0024555: Visualization - the same text is rendered with shift at second time

Font_FTFont::loadGlyph() - use the same flags as RenderGlyph(), FT_LOAD_NO_HINTING has been missed.

Test cases for issue CR24555

7 years ago0024580: CMake doesn't unset becoming unused variables when 3rdparty's usage is switc...
ibs [Tue, 28 Jan 2014 15:17:50 +0000 (19:17 +0400)]
0024580: CMake doesn't unset becoming unused variables when 3rdparty's usage is switched off

unset becoming unused variables when freeimage, opencl, tbb and gl2ps are switched off

7 years ago0002793: BinOcaf: low performance saving documents with large attributes
apn [Wed, 29 Jan 2014 12:08:13 +0000 (16:08 +0400)]
0002793: BinOcaf: low performance saving documents with large attributes

Testing case bugs/caf/bug2793 was created.

7 years ago0024157: Parallelization of assembly part of BO
pkv [Tue, 28 Jan 2014 07:09:54 +0000 (11:09 +0400)]
0024157: Parallelization of assembly part of BO

I. New features:
I.1 class BOPAlgo_ShellSplitter
The new class BOPAlgo_ShellSplitter has been added.
Purpose:  The class provides the splitting of the set of connected faces
on separate loops

II. Changes:
II.1. class BOPAlgo_BuilderSolid
- method:
void BOPAlgo_BuilderSolid::PerformLoops()
the changes that provide parallel run the ShellSplitter algorithm have been done.

- method:
void BOPAlgo_BuilderSolid::PerformAreas()
the classification the grows and holes has been done using
the algorithm of unbalanced binary tree of overlapped bounding boxes

7 years ago0024564: Select3D_SensitiveFace gives inaccurate picking depth for AIS_Plane (interio...
apl [Fri, 24 Jan 2014 07:01:42 +0000 (11:01 +0400)]
0024564: Select3D_SensitiveFace gives inaccurate picking depth for AIS_Plane (interior selection)

1) Used more accurate Select3D_SensitiveTriangulation instead of Select3D_SensitiveFace for rectangular sensitives in AIS_Plane::ComputeSelection, AIS_Dimension::ComputeSelection
2) Test case for CR24564

7 years ago0024481: Test "Perform Infinite Point" provides wrong result for a solid
jgv [Thu, 30 Jan 2014 09:37:12 +0000 (13:37 +0400)]
0024481: Test "Perform Infinite Point" provides wrong result for a solid

Test cases for issue CR24481

7 years ago0024569: AIS_InteractiveContext::Update(...) does not updates selection when changing...
apl [Thu, 30 Jan 2014 09:03:48 +0000 (13:03 +0400)]
0024569: AIS_InteractiveContext::Update(...) does not updates selection when changing AIS_Plane

1) Allow AIS_InteractiveContext::Update to check, re-project and recompute selection structures even if presentations are not "to be updated".
2) Test case bugs vis bug24569.

Small correction of test case for issue CR24569

7 years ago0024203: Command "sameparameter" in DRAW on attached edge set tolerance equal to...
nbv [Mon, 20 Jan 2014 10:56:15 +0000 (14:56 +0400)]
0024203: Command "sameparameter" in DRAW on attached edge set tolerance equal to 116.

Main problem:
Algorithm of locale extrema, which is called by "sameparameter" command, cannot find extrema because extremal point is far from initial point. Therefore, reparametrization of edge's curve (for same-parameter) cannot be made properly.

Using of global extrema (see Approx_SameParameter.cxx).

As the given edge contains two 2d-curves and the second from them is problem, for select needed curve, an interface of "mk2dcurve" DRAW-command is changed. Now there can be used an index of curve (by default, index = 1, as earlier), see help for more detail information.

Test "heal advanced Z3":
Now checkshape finds only two invalid subshapes. Earlier, it found four subshapes. I think it is not regression. Therefore, test case was changed.

Tolerance reducing.


7 years ago0023855: Old BOPs fail on Win7 64bit when using TBB
Roman Lygin [Thu, 30 Jan 2014 08:58:31 +0000 (12:58 +0400)]
0023855: Old BOPs fail on Win7 64bit when using TBB

Minor code refactoring (readability)

Test case for issue CR23855

7 years ago0024503: TKOpenGl - Porting ray-tracing component on BVH package
dbp [Thu, 30 Jan 2014 08:53:54 +0000 (12:53 +0400)]
0024503: TKOpenGl - Porting ray-tracing component on BVH package

Updated test case v3d/raytrace/bug24130. The new version checks correctness of shadows.

7 years agoDraw command and test case for testing issue CR24533
mkv [Fri, 24 Jan 2014 10:34:34 +0000 (14:34 +0400)]
Draw command and test case for testing issue CR24533

7 years agoDeleted TODO in unstable test case in Debug mode.
bugmaster [Fri, 24 Jan 2014 09:57:48 +0000 (13:57 +0400)]
Deleted TODO in unstable test case in Debug mode.

7 years ago0024001: Stereographic rendering support
duv [Thu, 23 Jan 2014 10:44:31 +0000 (14:44 +0400)]
0024001: Stereographic rendering support

Deleted TODOs which were used when branch was built without OpenCL.
Modified test case bugs/vis/bug23747_2 (changed textured shape)

7 years ago0024552: Convertation of the generic classes to the non-generic (BndLib).
dln [Thu, 23 Jan 2014 09:50:42 +0000 (13:50 +0400)]
0024552: Convertation of the generic classes to the non-generic (BndLib).

Package "BndLib":
Functionality of the files "BndLib_Compute.gxx", "BndLib_Compute2d.cxx" and "BndLib_Compute3d.cxx" (methods Compute(...) for 2d and 3d cases) moved to BndLib.cxx (to the template method Compute(...)). For that had to edit work with points and coordinates a little i.e. method Compute(...) was updated and some methods where Compute(..) is called in "BndLib.cxx".

7 years ago0024533: Use 0 to check null handle instead of UndefinedHandleAccess
Roman Lygin [Thu, 23 Jan 2014 09:37:50 +0000 (13:37 +0400)]
0024533: Use 0 to check null handle instead of UndefinedHandleAccess

Handle classes now use 0 as invalid value for pointer instead of custom (and platform-dependent) value like 0xfefd0000.
Compiler macros UndefinedHandleAddress and _OCC64 are eliminated.

7 years ago0024517: Crash at StepToTopoDS_TranslateEdge::Init()
gka [Thu, 23 Jan 2014 07:44:07 +0000 (11:44 +0400)]
0024517: Crash at StepToTopoDS_TranslateEdge::Init()

Fixed crash at StepToTopoDS_TranslateEdge::Init() for case when curve is absent)

Corrected error message for case of absence geom curve in edge curve

7 years ago0024545: Convertation of the generic classes to the non-generic (XmlObjMgt).
dln [Tue, 21 Jan 2014 11:59:23 +0000 (15:59 +0400)]
0024545: Convertation of the generic classes to the non-generic (XmlObjMgt).
In the package "XmlObjMgt" class "XmlObjMgt_Array1" was converted to the non-generic.
And some changes were made in "XmlNaming" package for correct compilation of the application.

7 years ago0024453: TKViewerTest - extend information provided by vstate command
kgv [Tue, 10 Dec 2013 13:19:39 +0000 (17:19 +0400)]
0024453: TKViewerTest - extend information provided by vstate command

7 years ago0024536: GCC compiler warning on breakage of pointer aliasing rules in BRepFill_Evolv...
abv [Thu, 16 Jan 2014 10:25:34 +0000 (14:25 +0400)]
0024536: GCC compiler warning on breakage of pointer aliasing rules in BRepFill_Evolved.cxx

Avoid storing result of call to TopoDS::Edge() as reference

7 years ago0024479: Ray Tracing mode does not work in Qt IE sample
dbp [Wed, 22 Jan 2014 15:07:53 +0000 (19:07 +0400)]
0024479: Ray Tracing mode does not work in Qt IE sample
Implementation of  Ray Tracing mode in standard Qt sample
Fix compile warnings in Qt samples.
Fix tabs in Common-string.ts.
Update Code style.

0024415: Update QT samples
Code which was based on QT3 was removed. Some bugs and warnings has been also fixed.
Porting from QT4 to QT5 sample files.

7 years agoUpdate of testing case due to changes in issue 24370
mkv [Tue, 21 Jan 2014 07:15:51 +0000 (11:15 +0400)]
Update of testing case due to changes in issue 24370

7 years agoCorrection for Fedora 18 64 bit issue 24473
bugmaster [Fri, 17 Jan 2014 11:27:10 +0000 (15:27 +0400)]
Correction for Fedora 18 64 bit issue 24473

7 years agoCorrection of test cases for 24474 issue
bugmaster [Fri, 17 Jan 2014 08:35:12 +0000 (12:35 +0400)]
Correction of test cases for 24474 issue

7 years ago0024473: TKMath, BVH - introduce template-based package for Bounding volume hierarchy...
dbp [Wed, 15 Jan 2014 13:21:18 +0000 (17:21 +0400)]
0024473: TKMath, BVH - introduce template-based package for Bounding volume hierarchy structures and tools

7 years ago0024320: TKOpenGl, Ray Tracing - OpenGL resources created for OpenCL interconnection...
dbp [Tue, 14 Jan 2014 09:05:08 +0000 (13:05 +0400)]
0024320: TKOpenGl, Ray Tracing - OpenGL resources created for OpenCL interconnection should be managed in common way

7 years ago0024521: Visualization - automatic back face culling is not turned on for Solids...
kgv [Thu, 16 Jan 2014 17:09:20 +0000 (21:09 +0400)]
0024521: Visualization - automatic back face culling is not turned on for Solids packed into compound

- return true if shape is closed Solid (NOT just free closed Shell)
- accept compound of closed Solids as well
- ignore Solids with incomplete triangulation

TKOpenGl, automatically disable back face culling when:
- clipping/capping planes are in effect
- for translucent objects

Update bug23227 test case (now back faces are clipped).

OpenGl_Workspace::AspectFace() - disable culling in case of hatched style

7 years ago0024252: GCC warnings on breakage of strict-aliasing rules
abv [Wed, 15 Jan 2014 02:40:18 +0000 (06:40 +0400)]
0024252: GCC warnings on breakage of strict-aliasing rules

Fixed type casts in NCollection maps
Avoid invalid type cast in handling of LDOM text object
Use correct pointer type in callback function of Graphic3d_CGraduatedTrihedron class
Format of printf() simplified in IntPatch_Point.cxx

7 years ago0024526: Guide on Automatic Test System is obsolete
ysn [Thu, 16 Jan 2014 11:00:11 +0000 (15:00 +0400)]
0024526: Guide on Automatic Test System is obsolete

Update and revision of Testing System Guide

7 years ago0024427: Wrong section curves
nbv [Wed, 15 Jan 2014 06:56:16 +0000 (10:56 +0400)]
0024427: Wrong section curves

Incorrect curve is got after Decompose method applying. This method's using should be restrict.
Decomposition is required if intersection curve contains some parts, where U-parameter on quadric surface changes too sharply.

Decompose method is called for Cone and Sphere only (it does not require for Cylinder).

Comments are changed by jgv.

Test case for issue CR24427

Added test case bugs/moddata_3/bug24427_2

Compiler warning is liquidated.
Test is corrected.

7 years ago0024388: Option to enable visualization of hidden lines in DRAW
aba [Thu, 16 Jan 2014 10:09:05 +0000 (14:09 +0400)]
0024388: Option to enable visualization of hidden lines in DRAW

Added additional snapshot dumping to /tests/bugs/vis/bug24388_2. Corrected bug24388_1. Corrected vhlr command.

7 years ago0024532: BRepOffsetAPI_MakePipeShell raises an exception in a case with auxiliary...
jgv [Thu, 16 Jan 2014 10:03:22 +0000 (14:03 +0400)]
0024532: BRepOffsetAPI_MakePipeShell raises an exception in a case with auxiliary guide

Test case for issue CR24532

7 years ago0024458: Add commands for basic shape transformations
szv [Thu, 12 Dec 2013 06:25:36 +0000 (10:25 +0400)]
0024458: Add commands for basic shape transformations

Added commands for basic transformations

7 years ago0024370: [Regression] 6.7.0beta ShapeFix_EdgeProjAux breaks conventions on using...
gka [Thu, 16 Jan 2014 09:11:45 +0000 (13:11 +0400)]
0024370: [Regression] 6.7.0beta ShapeFix_EdgeProjAux breaks conventions on using IsDone flag.

Projection of 3d points corresponding to range of edge on 2d curve considered as successful for  all cases to except for cases when projection is not made.

Initialization initial values of flags
Modification initial values of flags setting status Done for first and last parameters

Adding new draw-command for issue CR24370

Test case for issue CR24370

7 years ago0024474: GCPnts_AbscissaPoint calculates invalid point
abk [Tue, 17 Dec 2013 13:01:51 +0000 (17:01 +0400)]
0024474: GCPnts_AbscissaPoint calculates invalid point
DRAW command discrCurve was created to test GCPnts_UniformAbscissa by count of discretization point.
Two bugs in GCPnts_AbscissaPoint were fixed.
DRAW tests for the bug were created.

7 years ago0024485: Draw Harness - create subfolder in temporary directory for temporary test...
ibs [Thu, 16 Jan 2014 08:33:39 +0000 (12:33 +0400)]
0024485: Draw Harness - create subfolder in temporary directory for temporary test results

for each test execution a specific directory is created in a temp directory.
the format of the created directory is next: group-gridname-casename_<data>_<time with secs>

indentations in changes were realigned

Output of warning messages on use of temporary directory disabled

7 years ago0024505: Wrong section curves between Cone and Cylinder with collinear axes.
emv [Thu, 16 Jan 2014 08:29:12 +0000 (12:29 +0400)]
0024505: Wrong section curves between Cone and Cylinder with collinear axes.

The intersection between Cone and one of the following surfaces: Cylinder, Sphere, Cone and Torus
is treated as analytical when the axes of the surfaces are collinear.

Test case for issue CR24505

7 years ago0024204: The algorithm BRepOffsetAPI_MakePipeShell produces resulting shape with...
jgv [Thu, 16 Jan 2014 08:20:12 +0000 (12:20 +0400)]
0024204: The algorithm BRepOffsetAPI_MakePipeShell produces resulting shape with unwarrantably big tolerance

Added test case bugs/modalg_5/bug24204

Modified following test cases:
bugs modalg_3 bug605 - case with bad input data, command "settolerance w1 1.e-7" was added;
bugs modalg_4 bug629 - wrong case, now the algorithm can not build pipes on such profiles, test case was removed;
bugs modalg_4 bug13595_1, bug13595_1 - number of subshapes was has changed;
bugs modalg_5 bug23706_2 - square of resulting face was changed;
bugs modalg_5 bug23870_1, bug23870_2, bug23870_3, bug23870_4, bug23870_5 - the number of subshapes was changed.

7 years ago0024088: Unsafe window handle management in Draw using GetWindowLong
omy [Thu, 16 Jan 2014 08:16:56 +0000 (12:16 +0400)]
0024088: Unsafe window handle management in Draw using GetWindowLong

Replaced Get-/SetWindowLong with Get-/SetWindowLongPtr in files of TKDraw.

Reverted the unrelated changes

7 years ago0024157: Parallelization of assembly part of BO
pkv [Fri, 10 Jan 2014 04:29:02 +0000 (08:29 +0400)]
0024157: Parallelization of assembly part of BO

Patch 06

I.1. class Bnd_Box2d
- method:
inline Standard_Real Bnd_Box2d::SquareExtent() const
has been added.
Purpose : The method returns the squared diagonal of the bounding box.

I.3. class BOPCol_BoxBndTree
has been added.
Purpose : The class is the instantiation of the algorithm of unbalanced binary tree
of overlapped bounding boxes 3D.

I.4. class BOPCol_Box2DBndTree
has been added.
Purpose : The class is the instantiation of the algorithm of unbalanced binary tree
of overlapped bounding boxes 2D.

I.5. class BOPAlgo_Algo
- method:
void BOPAlgo_Algo::SetRunParallel(const Standard_Boolean theFlag)
has been added.
Purpose: Set the flag of parallel processing
     if <theFlag> is true  the parallel processing is switched on
     if <theFlag> is false the parallel processing is switched off

- method:
Standard_Boolean BOPAlgo_Algo::RunParallel()const
has been added
Purpose: Returns the flag of parallel processing

II.1. class BOPAlgo_Builder
- method:
void BOPAlgo_Builder::SetRunParallel(const Standard_Boolean theFlag)
has been removed due to I.5.

- method:
Standard_Boolean BOPAlgo_Builder::RunParallel()const
has been removed due to I.5

II.2. class BOPDS_BoxBndTree
has been removed due to I.3

II.3. classes
the calls to BOPDS_BoxBndTree have been changed to
the calls to BOPCol_BoxBndTree
due to I.3

II.4. class BOPAlgo_BuilderFace
- method:
void BOPAlgo_BuilderFace::PerformLoops()
the changes that provide parallel run the  WireSplitter algorithm have been done.

- method:
void BOPAlgo_BuilderFace::PerformAreas()
the classification the grows and holes has been done using
the algorithm of unbalanced binary tree of overlapped bounding boxes

II.5. class BOPAlgo_WireSplitter
- method:
void BOPAlgo_WireSplitter::SplitBlock(const TopoDS_Face& myFace,
          BOPTools_ConnexityBlock& aCB)
the method is transferred to the static, the signature of the method have been changed

- method:
void BOPAlgo_WireSplitter::MakeWires()
the changes to provide parallel run the SplitBlock algorithm have been done

7 years ago0024438: Message_Algorithm - allow customized status descriptions
kgv [Thu, 16 Jan 2014 07:55:43 +0000 (11:55 +0400)]
0024438: Message_Algorithm - allow customized status descriptions

7 years ago0024497: TKOpenGl, OpenGl_Context - Add getter for window field
kgv [Wed, 8 Jan 2014 08:21:29 +0000 (12:21 +0400)]
0024497: TKOpenGl, OpenGl_Context - Add getter for window field

7 years ago0024209: Cppcheck errors "unusedScopedObject"
omy [Tue, 24 Dec 2013 06:13:13 +0000 (10:13 +0400)]
0024209: Cppcheck errors "unusedScopedObject"
Fixed bug with temporary objects.

7 years ago0024510: Remove unused local variables
Denis Barbier [Thu, 9 Jan 2014 08:20:06 +0000 (12:20 +0400)]
0024510: Remove unused local variables

When warnings are enabled, compilers report lots of occurrences
of unused local variables, which makes it harder to find other
meaningful warnings.
This commit does not fix all unused local variables.

Fix new type conversion warning

Code cleaned to avoid MSVC compiler warnings on unused function arguments.
Several useless pieces of code are removed.
Changes in IntTools_EdgeFace.cxx, Blend_Walking_1.gxx, Bnd_BoundSortBox.cxx, ProjLib_ProjectedCurve.cxx are reverted (separated to specific issue for more in-depth analysis).

7 years ago0024511: Remove obsolete Image_PixelAddress.cxx
Denis Barbier [Thu, 9 Jan 2014 08:14:05 +0000 (12:14 +0400)]
0024511: Remove obsolete Image_PixelAddress.cxx

Image_PixelAddress.cxx had been removed from src/Image/FILES in CR23486 (commit 2361d7e), but the file had not been deleted.

Correction of inconsistent file and units lists (units DebugTools and OpenCL are removed from UDLIST; files EXTERNLIB and SCAN.tcl added to FILES list in Cocoa and DrawResources units)

7 years ago0024512: clang++ compiler complains about extra semicolon
Denis Barbier [Thu, 2 Jan 2014 21:54:45 +0000 (22:54 +0100)]
0024512: clang++ compiler complains about extra semicolon

Clang++ compiler emits warnings like these ones when parsing superfluous semicolons:
  .../src/OSD/OSD_MAllocHook.cxx:49:2: warning: extra ';' outside of a function is a C++11 extension [-Wc++11-extra-semi]
  .../src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx:317:30: warning: extra ';' after member function definition [-Wextra-semi]

7 years ago0024516: Copyright information has been corrupted within some headers
bugmaster [Wed, 8 Jan 2014 10:47:11 +0000 (14:47 +0400)]
0024516: Copyright information has been corrupted within some headers

Update incorrectly modified header files

7 years ago0024470: Wrong result done by General Fuse algorithm.
emv [Thu, 9 Jan 2014 08:01:01 +0000 (12:01 +0400)]
0024470: Wrong result done by General Fuse algorithm.

1. The validity of the intersection point between edge and face is checked with sum of the tolerance values of the edge and face.
2. The intersection between toroidal surface and one of the following surfaces: Plane, Cylinder, Sphere, Cone or Torus
   is treated as analytical in the following cases:
   1) Torus and Plane: a. Axes of the surfaces are parallel;
                       b. Axes of the surfaces are perpendicular and location of the torus is lying on the plane;
   2) Torus and Sphere: The location of the sphere is lying on the line made from toruses axis;
   3) Torus and Cone, Cylinder or Torus: The axis of the surfaces are collinear.
   In all cases the intersection line(s) is(are) circle(s).

Added test cases bugs/modalg_5/bug24470

The intersection between torus with minor radius more than (or equal to) the major radius and any other surface is considered as parametric.

7 years ago0024489: Avoid type casts in call to Standard::Free()
abv [Thu, 9 Jan 2014 07:56:20 +0000 (11:56 +0400)]
0024489: Avoid type casts in call to Standard::Free()

Method Standard::Free() is converted to template, so that pointer is nullified using its proper type.
Unnecessary type cases in calls to Standard::Free(), Standard::Reallocate(), and NCollection_BaseAllocator::Free() eliminated throughout OCCT code.

7 years ago0024491: Partition algorithm history bug (faces).
emv [Wed, 25 Dec 2013 12:24:57 +0000 (16:24 +0400)]
0024491: Partition algorithm history bug (faces).
Modifications in history:
1. All splits of the shape are returned as Modified from that shape.
2. For SECTION operation section edges are returned as Generated from the face.