Changesets: occt

master c5e9fb8b

2013-06-13 10:45:04

Pawel

Details Diff
0024013: Voxel_FastConverter is able to use existing triangulation

Added the possibility to use existing triangulation within Voxel_FastConverter.
A grammar mistake is corrected.
Affected Issues
0024013
mod - src/Voxel/Voxel_FastConverter.cdl Diff File
mod - src/Voxel/Voxel_FastConverter.cxx Diff File

master da8536ad

2013-06-06 19:58:39

Pawel

Details Diff
0024018: Voxel_FastConverter::Convert - avoiding unnecessary iterations when using multiple threads

After processing 'end_thread_triangle' the method exits instead of just continuing the iteration.
Formatting adjusted.
Affected Issues
0024018
mod - src/Voxel/Voxel_FastConverter.cxx Diff File

master 71797c62

2013-06-06 08:16:38

emv

Details Diff
0024016: Test case bugs moddata_2 bug324 works not correct after integration of the fix for the issue 0023985.
Do not perform the check for the height of the cylinder (see issue 0023985) for infinite cylinders.
Affected Issues
0024016
mod - src/IntPatch/IntPatch_ImpImpIntersection_2.gxx Diff File

master 31065946

2013-06-06 06:21:21

Pawel

Details Diff
0024010: Voxel_DS: getting the origin point of a voxel
A method obtaining the voxel origin added.
1. (xc, yc, zc) is renamed to (x0, y0, z0)
2. The method GetCenter() calls now the method GetOrigin() internally to reduce amount of code and increase readability.
Affected Issues
0024010
mod - src/Voxel/Voxel_DS.cdl Diff File
mod - src/Voxel/Voxel_DS.cxx Diff File

master bbf847ad

2013-06-06 06:13:30

Pawel

Details Diff
0023501: Redundant triangulation cleaning/generation (1) in AIS_Shape.cxx
Cleaning triangulation only if the AIS_Shape has either (1) OwnDeviationAngle and
the values 'newangle' and 'prevangle' are different or (2) OwnDeviationCoefficient and the values 'newcoeff' and 'prevcoeff' are different
Found similar problems in further code portions and corrected them.
The same faulty condition found in XCAFPrs_AISObject.cxx
Affected Issues
0023501
mod - src/AIS/AIS_Shape.cxx Diff File
mod - src/AIS/AIS_TexturedShape.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_AISObject.cxx Diff File

master 85c44a05

2013-06-05 06:34:49

apn

Details Diff
0023952: Improving thread-safety of intersections, approximations and other modeling algorithms

Modified QAcommands OCC23952sweep and OCC23952intersect to prevent exception in appropriate test cases
Affected Issues
0023952
mod - src/QABugs/QABugs_19.cxx Diff File
add - tests/bugs/modalg_5/bug23952_1 Diff File
add - tests/bugs/modalg_5/bug23952_2 Diff File

master c6df241c

2013-06-03 10:45:39

apn

Details Diff
Adjusting testing cases for current state of OCCT
rm - tests/bugs/modalg_5/bug23952_1 Diff File
rm - tests/bugs/modalg_5/bug23952_2 Diff File
mod - tests/bugs/modalg_5/bug23985 Diff File

master a9926dd8

2013-05-31 16:04:11

bugmaster

Details Diff
Update source code
mod - src/QABugs/QABugs_19.cxx Diff File

master f8fc2b2a

2013-05-31 13:29:27

vro

Details Diff
0023935: Compiler warnings on returning Handle from C functions in OCAF schemas

The warning 4190 is disabled because a C++ object calling from C section is manipulating only in C++ (outside of C section).
Second attempt to remove the warning: extern "C" is removed - everything works fine. But I tested it only on Windows.
Removed "Create##schema" method at all: without "extern "C"" it is useless. Checked that in OCCT and Samples this method is unused.

"new ##Schema" is used instead (like in StdDrivers.cxx, for an example). Also this approach is advised in Storage_Schema.cdl:
-- For example, if ShapeSchema is the class
-- inheriting from Storage_Schema and containing
-- the description of your application data schema,
-- you create a storage/retrieval algorithm as follows:
-- Handle(ShapeSchema) s = new
-- ShapeSchema;
Affected Issues
0023935
mod - src/Storage/Storage_Macros.hxx Diff File

master 04cbc9d3

2013-05-31 13:17:34

emv

Details Diff
0023985: There is no section between attached faces.
Added new parameter for checking whether the plane and cylinder are parallel - the height of the cylinder.
This parameter is needed for the cases when angle between AXIS and plane's normal is very close to PI,
but the "height" is big enough that point, translated from intersection point between cylinder's axis and plane
on the "height" distance in the direction of cylinder's axis, does not belong to the plane.
Such plane and cylinder cannot be considered as parallel.
Add test case for this fix
Affected Issues
0023985
mod - src/IntAna/IntAna_IntConicQuad.cdl Diff File
mod - src/IntAna/IntAna_IntConicQuad.cxx Diff File
mod - src/IntAna/IntAna_QuadQuadGeo.cdl Diff File
mod - src/IntAna/IntAna_QuadQuadGeo.cxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection_1.gxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection_2.gxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection_3.gxx Diff File
add - tests/bugs/modalg_5/bug23985 Diff File

master 470ebb43

2013-05-31 13:13:38

ifv

Details Diff
0023945: GeomAdaptor_Surface fails to compute the first derivatives on the surface of the attached face
Add test case for this fix
Add new draw-command OCC23945 for testing this fix
Add new draw-command for testing tis fix
Affected Issues
0023945
mod - src/GeomAdaptor/GeomAdaptor_Surface.cdl Diff File
mod - src/GeomAdaptor/GeomAdaptor_Surface.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
add - tests/bugs/moddata_3/bug23945 Diff File

master a0f8845f

2013-05-31 13:10:17

ifv

Details Diff
0023982: Wire explorer raises exception

1. Modification of BRepTools_WireExplorer.cxx in order to provide correct treatment of "microedges" (2d and 3d edge's lengths is ~0).

2. Adding test case for this fix
mod - src/BRepTools/BRepTools_WireExplorer.cxx Diff File
add - tests/bugs/moddata_3/bug23982 Diff File

master 1ef32e96

2013-05-31 13:04:58

Roman Lygin

Details Diff
0023952: Improving thread-safety of intersections, approximations and other modeling algorithms

AdvApp2Var_SysBase::mcrgene_ size reduced from 1000 to 32 elements, and each element reworked into typed structure.
fixed IntAna_Curve.cxx to prevent access to #NAN# SigneSqrtDis
fixed alignment of doubles by 8 bytes, and minor corrections
Minor correction: static const N given more specific name (MAX_ALLOC_NB)
Added QAcommands OCC23952sweep and OCC23952intersect
Added test cases bugs/modalg_5/bug23952_1 bug23952_2
Affected Issues
0023952
mod - src/AdvApp2Var/AdvApp2Var_ApproxF2var.cxx Diff File
mod - src/AdvApp2Var/AdvApp2Var_MathBase.cxx Diff File
mod - src/AdvApp2Var/AdvApp2Var_SysBase.cxx Diff File
mod - src/AdvApp2Var/AdvApp2Var_SysBase.hxx Diff File
mod - src/AdvApp2Var/AdvApp2Var_SysBase_baseinit.cxx Diff File
mod - src/ApproxInt/ApproxInt_ImpPrmSvSurfaces.gxx Diff File
mod - src/ApproxInt/ApproxInt_PrmPrmSvSurfaces.gxx Diff File
mod - src/IntAna/IntAna_Curve.cxx Diff File
mod - src/IntPatch/IntPatch_HInterTool.cdl Diff File
mod - src/IntPatch/IntPatch_HInterTool.cxx Diff File
mod - src/IntPatch/IntPatch_ImpPrmIntersection.cxx Diff File
mod - src/IntPatch/IntPatch_RstInt.cxx Diff File
mod - src/IntStart/IntStart_SearchInside.gxx Diff File
mod - src/IntTools/IntTools_SurfaceRangeLocalizeData.cxx Diff File
mod - src/IntWalk/IntWalk_IWalking.cdl Diff File
mod - src/IntWalk/IntWalk_IWalking_1.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_2.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_3.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_4.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_5.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_6.gxx Diff File
mod - src/IntWalk/IntWalk_PWalking.cdl Diff File
mod - src/IntWalk/IntWalk_PWalking_1.gxx Diff File
mod - src/IntWalk/IntWalk_PWalking_3.gxx Diff File
mod - src/math/math_FunctionRoots.cxx Diff File
mod - src/math/math_Powell.cxx Diff File
mod - src/math/math_Recipes.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
add - tests/bugs/modalg_5/bug23952_1 Diff File
add - tests/bugs/modalg_5/bug23952_2 Diff File

master 416d0127

2013-05-31 12:58:07

Roman Lygin

Details Diff
0023944: Typo in ShapeCustom_RestrictionParameters leading to wrong approximation results
Add test case for this fix
Affected Issues
0023944
mod - src/ShapeCustom/ShapeCustom_RestrictionParameters.cxx Diff File
add - tests/bugs/heal/bug23944 Diff File

master fee4fa0f

2013-05-30 06:19:57

emv

Details Diff
0024004: Initialization of arrays TPoints, TEdges, TTriangles of the class IntPolyh_MaillageAffinage by exact values
This commit implements two ideas for current version of OCCT:
1. Initialization of the arrays of the class IntPolyh_MaillageAffinage by exact values. The idea suggested by Roman Lygin (http://opencascade.blogspot.fr/2008/12/why-are-boolean-operations-so-sloooooow.html [^]);
2. Optimizing for loops. The idea has been taken from OCE (https://github.com/tpaviot/oce/commit/7b19650b2902305709c5124823bd4b81331353f7 [^]).
Affected Issues
0024004
mod - src/IntPolyh/IntPolyh_MaillageAffinage.cxx Diff File

master 20b1ae2c

2013-05-27 09:06:42

Pawel

Details Diff
0023996: Width 50 given in format string (no. 2) is larger than destination buffer 'vale[50]'

Increased the size of the destination buffer to avoid possible overflow.
Affected Issues
0023996
mod - src/Interface/Interface_Static.cxx Diff File

master bd0c22ce

2013-05-24 05:26:45

szv

Details Diff
0023988: Force use of reentrant mode

Reentrant mode switch is eliminated
Affected Issues
0023988
mod - src/IGESControl/IGESControl_Reader.cxx Diff File
mod - src/MeshTest/MeshTest.cxx Diff File
mod - src/MeshTest/MeshTest_PluginCommands.cxx Diff File
mod - src/NCollection/NCollection_BaseAllocator.cxx Diff File
mod - src/NCollection/NCollection_IncAllocator.cxx Diff File
mod - src/Standard/Standard.cdl Diff File
mod - src/Standard/Standard.cxx Diff File
mod - src/Standard/Standard_ErrorHandler.cxx Diff File
mod - src/Standard/Standard_MMgrOpt.cxx Diff File
mod - src/Standard/Standard_MMgrOpt.hxx Diff File
mod - src/Standard/Standard_MMgrRoot.cxx Diff File
mod - src/Standard/Standard_MMgrRoot.hxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File

master 8fd76287

2013-05-23 10:57:11

abv


Committer: abv Details Diff
0022831: Regression in boolean Cut - wrong result ( 6.5.2).
Adding testing case
add - tests/bugs/modalg_5/bug22831 Diff File

master c15398ab

2013-05-23 10:52:21

Roman Lygin

Details Diff
239343: OCC fails to work with offset surfaces with singularities
Add test cases for this fix
mod - src/Geom/Geom_OsculatingSurface.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Surface.cxx Diff File
add - tests/bugs/moddata_3/bug23943_1 Diff File
add - tests/bugs/moddata_3/bug23943_2 Diff File
add - tests/bugs/moddata_3/bug23943_3 Diff File
add - tests/bugs/moddata_3/bug23943_4 Diff File

master f7b4312f

2013-05-23 08:09:09

vro

Details Diff
0023850: TDataStd_ByteArray is too slow on storage on disk

Optimization of a byte-array for XML persistence (binary persistence is ok).
A possible bug is corrected (size of an array is extended a little).
Same improvement for storage of a TDataStd_TreeNode.
Improvement of speed of storage of several Ocaf attributes in XML file format.
Also, format of storage of a double value is extended to keep 17 digits after a decimal point (it was used only 15 digits before).
Several draw-commands are added to manipulate the basic Ocaf attributes:
BooleanArray
BooleanList
IntegerList
RealList
A test-script for OCAF document successfully saved and opened from disk in XML file format.
+ 1 is added to keep '\0'
Removed several spaces in source files.
PLib_LocalArray is renamed to NCollection_LocalArray and became a template. It is used as a local array for Standard_Character in XML OCAF drivers, and as a local array of Standard_Real in PLib package.
Small correction of test case for this fix
Affected Issues
0023850
mod - src/BSplCLib/BSplCLib.cxx Diff File
mod - src/BSplSLib/BSplSLib.cxx Diff File
mod - src/DDataStd/DDataStd_BasicCommands.cxx Diff File
mod - src/NCollection/FILES Diff File
mod - src/PLib/FILES Diff File
mod - src/PLib/PLib.cxx Diff File
mod - src/PLib/PLib_HermitJacobi.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_RealDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx Diff File
add - tests/caf/bugs/D1 Diff File

master 5a77460e

2013-05-23 08:02:14

omy

Details Diff
0023901: Memory leaks in tests.
1. Removed cyclic reference. Removed field myCommonBlock from BOPDS_PaveBlock;
2. Added data map myMapPBCB in BOPDS_DS. It contains pairs (PaveBlock, CommonBlock);
3. All methods about common block have been shifted from BOPDS_PaveBlock to BOPDS_DS;
4. Test case bugs moddata_2 pro19422_2 has been rewritten to build the correct result.
Test case corrected (TODO removed)
Affected Issues
0023901
mod - src/BOPAlgo/BOPAlgo_Builder_1.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Tools.cdl Diff File
mod - src/BOPAlgo/BOPAlgo_Tools.cxx Diff File
mod - src/BOPDS/BOPDS.cdl Diff File
add - src/BOPDS/BOPDS_DataMapOfPaveBlockCommonBlock.hxx Diff File
mod - src/BOPDS/BOPDS_DS.cdl Diff File
mod - src/BOPDS/BOPDS_DS.cxx Diff File
mod - src/BOPDS/BOPDS_PaveBlock.cdl Diff File
mod - src/BOPDS/BOPDS_PaveBlock.cxx Diff File
mod - src/BOPDS/FILES Diff File
mod - src/QANewModTopOpe/QANewModTopOpe_Tools.cxx Diff File
mod - tests/bugs/fclasses/bug7287_1 Diff File
mod - tests/bugs/moddata_2/pro19422_2 Diff File

master f1419025

2013-05-23 07:55:08

emv

Details Diff
0023933: Self intersection reported after Fuse operation.

Additional check has been added in IntTools_BeanFaceIntersector::FastComputeExactIntersection() to prevent
creating an Edge/Face intersection for the case when edge lies on the surface of the face, but not on the face itself.
Adding test case for this fix
Affected Issues
0023933
mod - src/BOPAlgo/BOPAlgo_ArgumentAnalyzer.cxx Diff File
mod - src/BOPTest/BOPTest_CheckCommands.cxx Diff File
mod - src/IntTools/IntTools_BeanFaceIntersector.cxx Diff File
add - tests/bugs/modalg_5/bug23933 Diff File

master 80482e01

2013-05-17 16:24:26

abv


Committer: abv Details Diff
0023970: Ignore dot-paths when searching for data files Affected Issues
0023970
mod - src/DrawResources/TestCommands.tcl Diff File

master 8b7c9cb4

2013-05-17 08:29:32

apn

Details Diff
Adjusting testing cases for current state of OCCT
mod - tests/de/iges_2/H9 Diff File

master d633fd70

2013-05-16 13:55:09

emv

Details Diff
0023906: Performance of the projection algorithm in some cases became lower after integration of the fix for the bug 0022610.
New search algorithm Extrema_ExtAlgo_Tree used in projection algorithm in Boolean Operations.
Extrema is set to search only min distance.
Add test case for this fix
Draw command projponf has been modified to provide possibility to change the default parameters of Extrema_ExtPS algorithm:
projponf f pnt [extrema flag: -min/-max/-minmax] [extrema algo: -g(grad)/-t(tree)]
-min - Extrema_ExtFlag_MIN;
-max - Extrema_ExtFlag_MAX;
-minmax - Extrema_ExtFlag_MINMAX (default);
-g - Extrema_ExtAlgo_Grad (default);
-t - Extrema_ExtAlgo_Tree;
Examples:
projponf f pnt -min - the parameters are Extrema_ExtFlag_MIN and Extrema_ExtAlgo_Grad;
projponf f pnt -t - the parameters are Extrema_ExtFlag_MINMAX and Extrema_ExtAlgo_Tree;
projponf f pnt -min -t - the parameters are Extrema_ExtFlag_MIN and Extrema_ExtAlgo_Tree;
mod - src/BOPInt/BOPInt_Context.cxx Diff File
mod - src/TestTopOpe/TestTopOpe_CORCommands.cxx Diff File
mod - src/TopOpeBRepTool/TopOpeBRepTool_PROJECT.cxx Diff File
mod - src/TopOpeBRepTool/TopOpeBRepTool_PROJECT.hxx Diff File
add - tests/bugs/modalg_5/bug23906 Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 215 216 217 218 219 220 221 ... 240 ... 254 255 256  Next  Last