8 years agoCorrection instable testing case in Debug mode
apn [Fri, 6 Sep 2013 07:32:45 +0000 (11:32 +0400)]
Correction instable testing case in Debug mode

8 years ago0024121: It's necessary to add TODO in test cases to avoid known regressions in debug...
apn [Thu, 5 Sep 2013 08:43:49 +0000 (12:43 +0400)]
0024121: It's necessary to add TODO in test cases to avoid known regressions in debug mode

8 years ago0023978: BRepCheck reports check failure
mkv [Thu, 5 Sep 2013 08:07:13 +0000 (11:07 +0300)]
0023978: BRepCheck reports check failure
Modification test case for issue CR23978

8 years ago0024122: Hang-up during a topological operation.
pkv [Thu, 5 Sep 2013 09:32:05 +0000 (13:32 +0400)]
0024122: Hang-up during a topological operation.

I. New features:
no New features.

II. Changes:
II.1. class : BOPAlgo_Builder
   - method:
void BOPAlgo_Builder::FillIn3DParts(BOPCol_DataMapOfShapeListOfShape& ,
    BOPCol_DataMapOfShapeShape& ,
    const BOPCol_BaseAllocator& )

The algorithm of finding 3D-parts for solids has ben changed.
To improve the performance the unbalanced binary tree is used.

II.2. class : BOPTools_AlgoTools
   - method:
Standard_Boolean BOPTools_AlgoTools::GetFaceOff
  (const TopoDS_Edge&,
   const TopoDS_Face&
   BOPTools_ListOfCoupleOfShape& ,
   Handle(BOPInt_Context& )
The data treatment for tangent cases has been changed

III. Modified entities:

Small corrections of test cases

8 years ago0024131: TKOpenGL redesign GPU memory management for markers presentation
kgv [Fri, 30 Aug 2013 16:37:02 +0000 (20:37 +0400)]
0024131: TKOpenGL redesign GPU memory management for markers presentation

Introduce Point Sprites usage.
Graphic3d_Group - drop Marker(),MarkerSet() methods - markers should be drawn using AddPrimitiveArray.
Added new Draw Harness commands vcaps, vmarkerstest.

8 years ago0024138: Exception during projection of the point on the face
emv [Thu, 5 Sep 2013 09:16:47 +0000 (13:16 +0400)]
0024138: Exception during projection of the point on the face
Adding test case for issue CR24138

8 years ago0024136: Mouse move events from inactive Draw Harness window should not be processed...
kgv [Thu, 29 Aug 2013 17:22:00 +0000 (21:22 +0400)]
0024136: Mouse move events from inactive Draw Harness window should not be processed on active window

8 years ago0024132: Test execution fails due to permission rights issues
kgv [Thu, 5 Sep 2013 09:11:45 +0000 (13:11 +0400)]
0024132: Test execution fails due to permission rights issues

Generation of temporary files used for capturing DRAW command output on Windows is improved to use directory specified by environment variable TMP or TEMP (instead of root directory which can be write-protected)

8 years ago0024123: Create debug OpenGL context when requested (GL_ARB_debug_output)
kgv [Thu, 29 Aug 2013 11:45:45 +0000 (15:45 +0400)]
0024123: Create debug OpenGL context when requested (GL_ARB_debug_output)

Introduce new OpenGl_Caps class for unified graphic driver options access.
New command vgldebug to request debug OpenGL context.
OpenGl_Window  - create debug OpenGL context when requested (WGL-only).
OpenGl_Context - destroy arbTBO, arbIns members.
Workaround namespace collisions with Xlib macros
Eliminate new warning (unused argument in OpenGl_Context::debugCallbackWrap)

8 years ago0024128: Prs3d_WFShape - remove debug environment switch DEBUG_TRIANGLES
kgv [Tue, 27 Aug 2013 04:32:04 +0000 (08:32 +0400)]
0024128: Prs3d_WFShape - remove debug environment switch DEBUG_TRIANGLES

8 years ago0024065: Wrong intersection point
emv [Thu, 29 Aug 2013 09:30:41 +0000 (13:30 +0400)]
0024065: Wrong intersection point

Adding test case for issue CR24065

Small corrections of test cases

8 years ago0024126: Crash on fixing the attached shape
emv [Thu, 29 Aug 2013 09:28:02 +0000 (13:28 +0400)]
0024126: Crash on fixing the attached shape
Added the check for an empty list.
Adding test case for issue CR24126

8 years ago0024120: Move out StdPrs_WFShape implementation to StdPrs_WFShape.cxx
kgv [Thu, 29 Aug 2013 09:24:51 +0000 (13:24 +0400)]
0024120: Move out StdPrs_WFShape implementation to StdPrs_WFShape.cxx
Small correction of test case

8 years ago0024061: Draw-commands for Voxels are insufficient to test the functionality
vro [Thu, 22 Aug 2013 09:07:17 +0000 (13:07 +0400)]
0024061: Draw-commands for Voxels are insufficient to test the functionality

Upgrade of draw-commands + a new draw-command calling conversion of a shape into voxels.
Resolved of a problem of failure of non-regression tests on voxels (vis/bug19820).

8 years ago0023987: 2D fillets
vro [Thu, 22 Aug 2013 09:04:16 +0000 (13:04 +0400)]
0023987: 2D fillets

Added test cases in group bugs/modalg_5
Test cases were put to corresponding regular grid fillet2d

8 years ago0024083: BRepCheck_Wire crashes processing a wire consisting of many edges
vro [Thu, 22 Aug 2013 08:59:16 +0000 (12:59 +0400)]
0024083: BRepCheck_Wire crashes processing a wire consisting of many edges

A check on 0 is added.
A recursive method Propagate() is replaced by a non-recursive implementation.
Adding test case for issue CR24083

8 years ago0024107: BRepAlgo::ConcatenateWireC0 method doesn't work on a translated wire
skv [Thu, 22 Aug 2013 08:27:05 +0000 (12:27 +0400)]
0024107: BRepAlgo::ConcatenateWireC0 method doesn't work on a translated wire

Adding test case for issue CR24107
Correction test case for issue CR24107

8 years ago0024059: Eliminate compiler warning C4701 in MSVC++ with warning level 4
omy [Thu, 22 Aug 2013 08:07:14 +0000 (12:07 +0400)]
0024059: Eliminate compiler warning C4701 in MSVC++ with warning level 4

Removing pPotentially uninitialized local variable
Got rid of most of warnings C4701: Potentially uninitialized local variable
Removed redundant variable definitions.
Refactored a part of AppParCurves_ResolConstraint CTOR.
Replaced 0. to Precision::Confusion for tolerance vars;
Changed values for min and max parameter vars;
Got rid of redundant variables' initialization.

8 years ago0024113: Provide missing OpenGl_VertexBuffer::SubData() specializations
kgv [Thu, 22 Aug 2013 07:25:38 +0000 (11:25 +0400)]
0024113: Provide missing OpenGl_VertexBuffer::SubData() specializations
remark on doxygen documentation

8 years ago0011758: TCollection strings are not memory safe as reported by Purify
vsr [Thu, 22 Aug 2013 07:21:09 +0000 (11:21 +0400)]
0011758: TCollection strings are not memory safe as reported by Purify

Custom string handling code enabled by OptJr macro removed from implementation of strings in TCollection and elsewhere.
Functions from string.h are used instead of macros from Standard_String.hxx
File Standard_String.hxx and methods ISSIMILAR and HASHCODE of TCollection*String classes are removed (to be replaced by strcasecmp).
Functions HashCode for strings reimplemented using DJB2 algorithm for C strings and SDBM algorithm for extended strings.
Adding test cases and draw-command for issue CR11758
Fix misprint added with previous integration
Fix misprint in the test command.
Remove compilation warnings (Linux).
Avoid compiler warning "dereferencing type-punned pointer will break strict-aliasing rules" on Linux

8 years ago0023864: An & symbol is read incorrectly from a XML Ocaf file
vro [Thu, 15 Aug 2013 12:28:11 +0000 (16:28 +0400)]
0023864: An & symbol is read incorrectly from a XML Ocaf file
A line is uncommented. This line sets the successfully read & symbol.
Correction and adding test cases for issue CR23864

8 years ago0024105: ShapeFix algorithm produces not correct result.
emv [Thu, 15 Aug 2013 12:23:41 +0000 (16:23 +0400)]
0024105: ShapeFix algorithm produces not correct result.
Small correction.
Adding test cases for issue CR24105

8 years ago0024112: Unused variables are initialized in Extrema package
kgv [Wed, 14 Aug 2013 09:15:43 +0000 (13:15 +0400)]
0024112: Unused variables are initialized in Extrema package

8 years ago0024045: Invalid test case for matrix-vector multiplication
Roman Lygin [Tue, 25 Jun 2013 17:58:50 +0000 (21:58 +0400)]
0024045: Invalid test case for matrix-vector multiplication

8 years ago0024044: Performance improvements: Foundation Classes (math)
Roman Lygin [Tue, 25 Jun 2013 17:42:25 +0000 (21:42 +0400)]
0024044: Performance improvements: Foundation Classes (math)

8 years ago0024081: Memory corruption when projecting point on surface of revolution
Roman Lygin [Thu, 15 Aug 2013 11:55:13 +0000 (15:55 +0400)]
0024081: Memory corruption when projecting point on surface of revolution
Adding test cases for issue CR24081

8 years ago0024106: Project non-regression test: geom/boolean_operations6/G3 provides incorrect...
pkv [Thu, 8 Aug 2013 04:05:42 +0000 (08:05 +0400)]
0024106: Project non-regression test: geom/boolean_operations6/G3 provides incorrect result.

8 years ago0023766: Shape orientation processing mechanism redesign
szy [Thu, 15 Aug 2013 11:36:08 +0000 (15:36 +0400)]
0023766: Shape orientation processing mechanism redesign
Added missed file.
Added missed MDF_Tool.cxx.
Adding test cases for issue CR23766

8 years ago0022535: Cut sphere: invalid shape after reading from STEP
ika [Thu, 15 Aug 2013 11:28:19 +0000 (15:28 +0400)]
0022535: Cut sphere: invalid shape after reading from STEP
In cutting sphere it's seam edge was divided into two parts(by cylinder),
but pcurves of  the second were not shifted during shape healing.
Test cases correction

8 years ago0024089: Missing section edge
pkv [Thu, 8 Aug 2013 06:58:38 +0000 (10:58 +0400)]
0024089: Missing section edge
Added test case bugs/modalg_5/bug24089
Small correction of test case buc60462_2

8 years ago0024095: Eliminate compiler warning C4512 in MSVC++ with warning level 4
omy [Tue, 6 Aug 2013 14:25:08 +0000 (18:25 +0400)]
0024095: Eliminate compiler warning C4512 in MSVC++ with warning level 4

Removed most of warnings C4512 for non-copyable objects

8 years ago0024092: Boolean fuse fails
pkv [Wed, 7 Aug 2013 15:52:40 +0000 (19:52 +0400)]
0024092: Boolean fuse fails
Adding test cases for issue CR24092

8 years ago0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4
omy [Fri, 2 Aug 2013 05:54:03 +0000 (09:54 +0400)]
0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4

Removed obsolete functions from sources.
Some useful debug functions were 'defined' ( put into #ifdef ...#endif )
Removed some redundant code

8 years ago0024101: Self-Interference Checker provides results that are inconsistent with the...
pkv [Mon, 5 Aug 2013 07:48:08 +0000 (11:48 +0400)]
0024101: Self-Interference Checker provides results that are inconsistent with the Project requirements.

8 years ago0024098: Exception Standard_OutOfMemory raised during topological operation.
pkv [Fri, 2 Aug 2013 06:07:13 +0000 (10:07 +0400)]
0024098: Exception Standard_OutOfMemory raised during topological operation.

8 years ago0003513: There is no check for boundary of array in method Set for array attributes
szy [Wed, 7 Aug 2013 15:27:29 +0000 (19:27 +0400)]
0003513: There is no check for boundary of array in method Set for array attributes
- Added check of array's boundary in Set(i, val) methods.
- Added comments to cdl files.
- removed accidental modification in TDataStd_ExtStringArray::Value(i).
- recovering accidentally lost modifications.

8 years ago0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
omy [Mon, 29 Jul 2013 06:27:34 +0000 (10:27 +0400)]
0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4

Most of the compiler warnings C4244 have been eliminated.

8 years ago0021317: Face cannot be fixed by Shape Healing
ika [Thu, 1 Aug 2013 08:34:52 +0000 (12:34 +0400)]
0021317: Face cannot be fixed by Shape Healing
Fix that face, in which only wire was reordered during shape healing, was not replaced.
Add test case for this fix
Add status for shifted wires in reordering.
Modified test case de/step_1/E3 according to new reference data

8 years ago0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4
omy [Thu, 1 Aug 2013 08:20:35 +0000 (12:20 +0400)]
0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4

Got rid from most cases which led to Warning c4706
Tiny code style corrections

8 years ago0023105: Exception during Meshing / Missing triangles
oan [Thu, 25 Jul 2013 09:11:00 +0000 (13:11 +0400)]
0023105: Exception during Meshing / Missing triangles

Fix compilation error on Linux
Adding test command for this fix
meshPolygon: simplify source polygon by splitting it onto parts without glued edges and loops
Check surrounded triangles during final cleaning of mesh
Correct polygon on frontier edges
Modified test cases in group mesh according to new behavior

8 years ago0023614: BRepMesh creates incorrect triangulation on the attached models
apn [Wed, 24 Jul 2013 10:29:41 +0000 (14:29 +0400)]
0023614: BRepMesh creates incorrect triangulation on the attached models

Added test cases bugs/mesh/bug23614_1 bug23614_2 bug23614_3 bug23614_4

8 years ago0023746: IGES wheel model fails to load when OCCT unit is meters
ika [Thu, 25 Jul 2013 08:39:12 +0000 (12:39 +0400)]
0023746: IGES wheel model fails to load when OCCT unit is meters
Add check for too small distances during edges reordering
Fix writing TrimmedSurface (Type 144).
Fix checking for too small distances between loops of edges during edge's reordering.
Add checking for too small BSpline segments during reading and writing IGES.
Fix wire splitting by adding checking that vertexes same not only in 3d, but in 2d too.
use tolerance of vertexes recomputed through resolution surface, not 2d curves.
Adding test case for this fix
Modified test case bugs iges bug23746 and cases in group de according to new reference data

8 years ago0024022: Slow meshing in BRepMesh
apn [Tue, 23 Jul 2013 12:45:28 +0000 (16:45 +0400)]
0024022: Slow meshing in BRepMesh

Added test case bugs/mesh/bug24022

8 years agoUpdate of environment files of qt samples for compilation in batch mode.
bugmaster [Wed, 24 Jul 2013 11:41:33 +0000 (15:41 +0400)]
Update of environment files of qt samples for compilation in batch mode.

8 years ago0024077: Build errors on master branch on Mac OS X
nbv [Fri, 19 Jul 2013 05:36:49 +0000 (09:36 +0400)]
0024077: Build errors on master branch on Mac OS X

small correction
Init() method is called with other parameter.

8 years agoCorrected integration to remove incorrect merge fix for issue 0024057 with fix for...
bugmaster [Fri, 19 Jul 2013 08:43:03 +0000 (12:43 +0400)]
Corrected integration to remove incorrect merge fix for issue 0024057 with fix for 0023582

8 years ago0024047: Exception in TPrsStd_AISPresentation during destruction of TDocStd_Document
gka [Thu, 18 Jul 2013 09:16:35 +0000 (13:16 +0400)]
0024047: Exception in TPrsStd_AISPresentation during destruction of TDocStd_Document

Adding test case for this fix
Modification in order to avoid exception during destruction of AIS_InteractiveContext
Small modification for trihedron
Small modifications to avoid regressions
Cosmetic modification

8 years ago0024072: VC 2009 64-bit compiler crashes while compiling IntPoly_ShapeSection.cxx
Roman Lygin [Tue, 16 Jul 2013 17:33:29 +0000 (21:33 +0400)]
0024072: VC 2009 64-bit compiler crashes while compiling IntPoly_ShapeSection.cxx

8 years ago0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4
omy [Thu, 18 Jul 2013 09:09:32 +0000 (13:09 +0400)]
0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4

Got rid of warning C4100: 'identifier' : unreferenced formal parameter
Got rid of compile errors

8 years ago0024075: Boolean Section between two faces fails
mkv [Wed, 17 Jul 2013 11:18:29 +0000 (14:18 +0300)]
0024075: Boolean Section between two faces fails

8 years ago0024076: New warning during compilation OCCT on WNT platform (release and debug)
omy [Tue, 16 Jul 2013 10:34:51 +0000 (14:34 +0400)]
0024076: New warning during compilation OCCT on WNT platform (release and debug)

Added return statement to disable warning

8 years ago0023839: Projection algorithm produces wrong results for set of data
jgv [Thu, 18 Jul 2013 08:54:38 +0000 (12:54 +0400)]
0023839: Projection algorithm produces wrong results for set of data
Added test cases bugs/modalg_5/bug23839_1 bug23839_2 bug23839_3 bug23839_4 bug23839_5 bug23839_6 bug23839_7

8 years ago0023582: Argument of LocOpe_WiresOnShape::SetCheckInterior() function is ignored.
jgv [Fri, 12 Jul 2013 13:40:15 +0000 (17:40 +0400)]
0023582: Argument of LocOpe_WiresOnShape::SetCheckInterior() function is ignored.

8 years ago0024069: Confusion in the name of variables
emv [Fri, 12 Jul 2013 06:36:44 +0000 (10:36 +0400)]
0024069: Confusion in the name of variables

8 years ago0023570: Command param in DRAW outputs non-readable symbols
ika [Thu, 18 Jul 2013 08:44:08 +0000 (12:44 +0400)]
0023570: Command param in DRAW outputs non-readable symbols
Added test case bugs/xde/bug23570

8 years agoUpdate of environment files for compilation in batch mode.
bugmaster [Thu, 18 Jul 2013 08:11:50 +0000 (12:11 +0400)]
Update of environment files for compilation in batch mode.

8 years ago0024054: Move the dynamic part of main CMakeLists.txt to adm/cmake folder
ibs [Mon, 1 Jul 2013 11:24:16 +0000 (15:24 +0400)]
0024054: Move the dynamic part of main CMakeLists.txt to adm/cmake folder

8 years ago0024058: Eliminate compiler warning C4702 in MSVC++ with warning level 4
omy [Fri, 12 Jul 2013 08:54:01 +0000 (12:54 +0400)]
0024058: Eliminate compiler warning C4702 in MSVC++ with warning level 4

Got rid of most of warnings of C4702 type: unreachable code.
Returned some #ifdef DEB
Fixed tabs formatting
Fixed some mistakes in code

8 years ago0024060: Wrong result done by general fuse algorithm.
emv [Fri, 12 Jul 2013 08:42:42 +0000 (12:42 +0400)]
0024060: Wrong result done by general fuse algorithm.

Added treatment of the vertex as a single object.
Added test case bugs/modalg_5/bug24060
Modified shape's extension in test cases bugs/moddata_3/bug23943_3 bug23943_4
Modified test cases in group de according to new reference data in issue 24035

8 years ago0024062: A mistake in Geom_OffsetCurve.cdl about direction of offset
vro [Fri, 12 Jul 2013 08:41:15 +0000 (12:41 +0400)]
0024062: A mistake in Geom_OffsetCurve.cdl about direction of offset

A misprint in document is corrected.

8 years ago0024032: An exception raised during projection of the curve on the surface
jgv [Fri, 12 Jul 2013 08:39:06 +0000 (12:39 +0400)]
0024032: An exception raised during projection of the curve on the surface

Added test case bugs/moddata_3/bug24032

8 years ago0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4
omy [Fri, 12 Jul 2013 08:37:38 +0000 (12:37 +0400)]
0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4

Fix first subset of warnings (about 100)
- while(1) and similar constructs replaced by for(;;)
- some uninitialized variables corrected
Got rid of Warning C4189: local variable is initialised but not referenced
Corrected mistakes after getting rid of C4189 compiler warning
Corrected some mistakes that led to compiling errors
Fixed test case because of improvement message - removed unnecessary TODO.
Small fix: tabs have been replaced with whitespaces.
Added TODO for Windows platform
removed last TODO
Corrected mistakes, returned some #ifdef DEB code, fixed test case .
Restoring a few places which have been modified too much
Small grammar fix
Deleted unnecessary puts in bugs/end

8 years ago0024048: "Basic Runtime Checks" option of VS projects should be equal to "RTC1"
ibs [Fri, 12 Jul 2013 08:29:30 +0000 (12:29 +0400)]
0024048: "Basic Runtime Checks" option of VS projects should be equal to "RTC1"

tolreached initialized (src\ChFi3d\ChFi3d_Builder_6.cxx);
LocalTransition initialized in deb case (src\HatchGen\HatchGen_Hatcher.gxx);
vprev initialized (src\Blend\Blend_Walking_3.gxx);
uprev initialized (src\BRepBlend\BRepBlend_SurfRstLineBuilder.cxx);
lxp initialized (src\Interface\Interface_FloatWriter.cxx)
pBuff initialized (src\OSD\OSD_Process.cxx)
aPrefix initialized (src\RWStepBasic\RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx)
ier initialized AdvApp2Var/AdvApp2Var_ApproxF2var.cxx
FacRevolInfini initialized BRepFeat_MakePrism.cxx
default action of "switch" returned
nombre mas of chars was expanded to 1024 (had been 20). this expansion helps avoiding the error of conversion a float number to mas of chars: the size of mas is enough for converting float number now.
Changed status (todo ?) of tests: de step_5 A6 B3, de iges_3 A9

8 years ago0024043: Performance improvements: Modeling Algorithms
Roman Lygin [Fri, 12 Jul 2013 08:27:30 +0000 (12:27 +0400)]
0024043: Performance improvements: Modeling Algorithms

Performance improvements: Modeling Algorithms (added Shape Healing)
Added TODO to unstable test cases

8 years ago0023042: Potential mistakes in (s)printf usage
omy [Fri, 12 Jul 2013 08:25:44 +0000 (12:25 +0400)]
0023042: Potential mistakes in (s)printf usage

Use PRIuPTR macros for Standard_Size values in printf.
Use STL streams instead of printf when reasonable.

8 years ago0023625: New functionality building reflect lines on a shape
jgv [Fri, 12 Jul 2013 08:24:21 +0000 (12:24 +0400)]
0023625: New functionality building reflect lines on a shape

Adding test case for this fix; Small corrections

8 years ago0023782: Intersection algorithm produces wrong section curves for the attached faces
emv [Fri, 12 Jul 2013 08:23:01 +0000 (12:23 +0400)]
0023782: Intersection algorithm produces wrong section curves for the attached faces

The fix is to keep the correlation between numbers of segments in U and V parametric directions (nbu and nbv).
When minimal of these numbers (f.e. nbu) is set to default minimal value (10), other (nbv) is set to Min(30, nbv*(default/nbu)). 30 is used to avoid too small segments.
Added test case bugs/modalg_5/bug23782

8 years ago0024029: Add a flag to bopcheck command to provide possibility to disable Face/Face...
emv [Fri, 12 Jul 2013 08:21:38 +0000 (12:21 +0400)]
0024029: Add a flag to bopcheck command to provide possibility to disable Face/Face intersection

Added new parameter to bopcheck command that defines which interferences to check:
bopcheck shape [level of check: 0 - 5]
1. bopcheck shape 1
    #The level of check is set to V/E, i.e. intersections #E/E, V/F, E/F, F/F will not be checked.
2. bopcheck shape 4
    #The level of check is set to E/F, i.e. intersection F/F is disabled.
3. bopcheck shape 5
    #All intersections will be checked. It is the same as bopcheck shape.
Added test case bugs/modalg_5/bug24029

8 years ago0024007: [Regression] Sporadic crashes when working with XDE documents
Roman Lygin [Thu, 4 Jul 2013 10:33:30 +0000 (14:33 +0400)]
0024007: [Regression] Sporadic crashes when working with XDE documents

8 years ago0024042: Performance improvements: Foundation Classes
Roman Lygin [Thu, 4 Jul 2013 10:31:57 +0000 (14:31 +0400)]
0024042: Performance improvements: Foundation Classes

Removed code under former __OPTIM_ARRAY macro

8 years ago0024019: Voxel_FastConverter: filling problem
Pawel [Thu, 4 Jul 2013 10:29:08 +0000 (14:29 +0400)]
0024019: Voxel_FastConverter: filling problem

Added a new method filling the inner part of a shape with voxels. The advantages of using this method are:
- processing vertical faces
- correct processing of 'concave' shapes
Added QA command OCC24019 for issue 24019 and test case bugs/vis/bug24019

8 years ago0024053: Section between plane and sphere is not correct
emv [Thu, 4 Jul 2013 10:26:05 +0000 (14:26 +0400)]
0024053: Section between plane and sphere is not correct

Small correction in splitting into intervals.
Adding test case for this fix

8 years ago0024033: All the orientation as a result of BRepAlgoAPI_Common is set to INTERNAL
emv [Thu, 4 Jul 2013 10:23:22 +0000 (14:23 +0400)]
0024033: All the orientation as a result of BRepAlgoAPI_Common is set to INTERNAL

Dimension of the shapes is used in the condition of choosing the shape to take parts of it in the common.
Adding test case for this fix

8 years ago0024037: Wrong result done by General Fuse algorithm
emv [Thu, 4 Jul 2013 10:21:44 +0000 (14:21 +0400)]
0024037: Wrong result done by General Fuse algorithm

Do not calculate the angle between same edges in WireSplitter algorithm and set it to 2*PI.
Adding test cases for this fix
Correction of test case

8 years ago0024040: The result of CUT operation is not correct
emv [Thu, 4 Jul 2013 10:19:17 +0000 (14:19 +0400)]
0024040: The result of CUT operation is not correct

Changed the way of getting point inside face for detecting same domain faces.
Adding test case for this fix

8 years ago0023994: GeomAPI_ExtremaCurveCurve class calculates wrong values
jgv [Thu, 4 Jul 2013 10:15:42 +0000 (14:15 +0400)]
0023994: GeomAPI_ExtremaCurveCurve class calculates wrong values

Adding test casefor this fix

8 years ago0024050: Voxel_FastConverter::Convert / ConvertUsingSAT - problems in multithreaded...
Pawel [Thu, 4 Jul 2013 09:12:27 +0000 (13:12 +0400)]
0024050: Voxel_FastConverter::Convert / ConvertUsingSAT - problems in multithreaded scenario

Computing triangle spans using integer numbers.

8 years ago0024035: Intersector is not symmetrical
ika [Thu, 27 Jun 2013 06:08:14 +0000 (10:08 +0400)]
0024035: Intersector is not symmetrical
asymmetrical check in  Standard_Boolean IntCurve_IntPolyPolyGen::findIntersect was changed to symmetrical.
fix wrong calculation of approx parameter on curve for last polygon segment
Added test case bugs/modalg_5/bug24035
Modified TODO in "de" test cases because there are small differences with old behaviour
Modified test case heal/split_closed_faces/G5 because of corrections in intersector's behavior, which lead to changes in checkshape

8 years ago0024028: It is impossible to create a face based on Geom_RectangularTrimmedSurface...
nbv [Mon, 24 Jun 2013 06:18:18 +0000 (10:18 +0400)]
0024028: It is impossible to create a face based on Geom_RectangularTrimmedSurface by standard methods

1. Trimmed Surfaces were replaced with bases for *.igs and *.stp file format.
BRepLib_MakeFace method sets the TRIMMED surface of Geom_RectangularTrimmedSurface in created face.

2. Adding test case for this fix

8 years ago0023957: Provide CMakeLists.txt file in root folder of OCCT
abv [Mon, 13 May 2013 03:13:23 +0000 (07:13 +0400)]
0023957: Provide CMakeLists.txt file in root folder of OCCT

Added simple CMakeLists.txt file in the root folder, redirecting to adm/cmake

8 years agoAdding test cases
apn [Thu, 20 Jun 2013 08:31:58 +0000 (12:31 +0400)]
Adding test cases

for following issues:

0023823: The result of section operation contains redundant vertex
0023826: Boolean Common between two solids fails
0023884: Boolean Fuse between two faces fails
0023892: Missing intersection curve between two surfaces
0023976: Extremely high memory consumption on boolean operation on 64 bits
0023991: Missing section edge between two faces
0024003: Exception reaised during intersection between two faces

8 years ago0024025: The method Modified2() in BRepAlgoAPI_BooleanOperation should be removed.
emv [Thu, 20 Jun 2013 11:48:11 +0000 (15:48 +0400)]
0024025: The method Modified2() in BRepAlgoAPI_BooleanOperation should be removed.
Removed method BRepAlgoAPI_BooleanOperation::Modified2(const TopoDS_Shape& aS) as it is no longer relevant (in the previous version of BOP it had used History collector to find modified shapes, but there is no such collector in current version of BOP). The replacement for this method is BRepAlgoAPI_BooleanOperation::Modified(const TopoDS_Shape& aS).
Small correction of test case

8 years ago0023998: Bad result of intersection of two faces: curve has a loop
jgv [Thu, 20 Jun 2013 11:46:20 +0000 (15:46 +0400)]
0023998: Bad result of intersection of two faces: curve has a loop
Add test case for this fix

8 years ago0022834: Instable case testing 3d offset algorithm (problem with cone-like surfaces)
mkv [Thu, 20 Jun 2013 08:50:51 +0000 (12:50 +0400)]
0022834: Instable case testing 3d offset algorithm (problem with cone-like surfaces)
Small correction of test case

8 years ago0024031: Depth buffer writes not enabled after rendering a transparent object
san [Mon, 17 Jun 2013 13:09:59 +0000 (17:09 +0400)]
0024031: Depth buffer writes not enabled after rendering a transparent object

Depth buffer writes manipulation made independent from the reflection mode flags
to ensure correct depth buffer operation after rendering transparent object(s).
Coding style improved slightly by using more human-readable variable name for
the reflection mode.

8 years ago0023959: Getting rid of generic classes in Visualization: generic classes were remove...
aba [Thu, 20 Jun 2013 11:28:40 +0000 (15:28 +0400)]
0023959: Getting rid of generic classes in Visualization: generic classes were removed from Prs3d

Errors corrections; DsgPrs_DatumTool class was removed as unused

8 years ago0024030: Undefined reference to `NCollection_IncAllocator::DefaultBlockSize'.
emv [Mon, 17 Jun 2013 10:30:59 +0000 (14:30 +0400)]
0024030: Undefined reference to `NCollection_IncAllocator::DefaultBlockSize'.

8 years agoRenaming shape extension of test case
bugmaster [Fri, 14 Jun 2013 11:05:17 +0000 (15:05 +0400)]
Renaming shape extension of test case

8 years ago0023939: Incorrect circle parameter in IntAna
vro [Fri, 14 Jun 2013 08:14:35 +0000 (12:14 +0400)]
0023939: Incorrect circle parameter in IntAna
Adding testing case

8 years ago0023889: Assignment of function parameter has no effect outside the function.
vro [Thu, 13 Jun 2013 11:38:17 +0000 (15:38 +0400)]
0023889: Assignment of function parameter has no effect outside the function.

Voxel_ROctBoolDS::SetZeroSplitData() is modified to accept an address of a pointer to deleting data.
Removal of a compilation error on Linux.
Compile error on Linux platform was fixed

8 years ago0023939: Incorrect circle parameter in IntAna
pdn [Thu, 13 Jun 2013 11:28:55 +0000 (15:28 +0400)]
0023939: Incorrect circle parameter in IntAna

Fix for circle circle intersection in case of one point touching
Test command added

8 years ago0023894: Voxel_BooleanOperation (Cut) gives incorrect results
Pawel [Thu, 13 Jun 2013 11:19:29 +0000 (15:19 +0400)]
0023894: Voxel_BooleanOperation (Cut) gives incorrect results

Implemented a new method using separating axis theorem to compute triangle-box intersection. Based on the intersection result the decision whether to set the voxel is made.
Adjustment of lines (removal of extra-spaces).
Adding test cases for voxel testing

8 years ago0023995: GeomAPI_ExtremaCurveSurface : wrong result between a curve and a plane
jgv [Thu, 13 Jun 2013 11:14:37 +0000 (15:14 +0400)]
0023995: GeomAPI_ExtremaCurveSurface : wrong result between a curve and a plane
Adding test case for this fix

8 years ago0023706: Cannot project point on curve
nbv [Thu, 13 Jun 2013 11:12:06 +0000 (15:12 +0400)]
0023706: Cannot project point on curve

1.   Approximation of derivative (by Taylor-series and by three points).
2.   Some methods (Degree(), GetType(), D0(), D3(), DN()) are added.
3.   Getting of subInterval's boundaries.
4.   Algorithm for checking if 1st derivative is equal to zero is amended.
5.   Cases are controlled when extrema or Project point do not exist.
6.   GetNormal() function for gp_Vec2d was added.
7.   Computing of Value, D0, D1, D2 and D3 for offset curves was changed.
8.   Limitation of tolerance for derivative computing was added.
9.   Methods for computing trihedron in singularity point are added.
10. Test tests/bugs/moddata_3/bug23706 is added.
11. Restriction on the LastParameter for visualization of 3-D curves. Calling PlotCurve(...) function for last interval.
12. LProp package is modified for tangent computing in singularity point (LProp_CLProps, LProp_SLProps).
13. Added test cases for issue.
Deleting bad test cases for this fix

8 years ago0024016: Test case bugs moddata_2 bug324 works not correct after integration of the...
emv [Thu, 6 Jun 2013 08:16:38 +0000 (12:16 +0400)]
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.

8 years ago0023670: Support for multiple 3D views: edited commands: vinit; added commands: vclos...
aba [Thu, 13 Jun 2013 10:57:07 +0000 (14:57 +0400)]
0023670: Support for multiple 3D views: edited commands: vinit; added commands: vclose, vactivate, vviewlist
bugs/end script was edited to dump results from all opened views; duplicated vinit was deleted from bug625. QABugs::OCC280()
was edited to work with multiviews;ViewerInit() method was corrected. vviewlist command was modificated to output string.
Small corrections
Compile errors were corrected

8 years ago0024018: Voxel_FastConverter::Convert - avoiding unnecessary iterations when using...
Pawel [Thu, 6 Jun 2013 19:58:39 +0000 (21:58 +0200)]
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.

8 years ago0024013: Voxel_FastConverter is able to use existing triangulation
Pawel [Thu, 13 Jun 2013 10:45:04 +0000 (14:45 +0400)]
0024013: Voxel_FastConverter is able to use existing triangulation

Added the possibility to use existing triangulation within Voxel_FastConverter.
A grammar mistake is corrected.

8 years ago0023952: Improving thread-safety of intersections, approximations and other modeling...
apn [Wed, 5 Jun 2013 06:34:49 +0000 (10:34 +0400)]
0023952: Improving thread-safety of intersections, approximations and other modeling algorithms

Modified QAcommands OCC23952sweep and OCC23952intersect to prevent exception in appropriate test cases

8 years ago0024004: Initialization of arrays TPoints, TEdges, TTriangles of the class IntPolyh_M...
emv [Thu, 30 May 2013 06:19:57 +0000 (10:19 +0400)]
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 [^]).