occt.git
4 years ago0025672: V3d_View::ConvertToGrid doesn't work for grid if the grid plane's origin...
apl [Thu, 16 Apr 2015 09:41:21 +0000]
0025672: V3d_View::ConvertToGrid doesn't work for grid if the grid plane's origin is not identical to camera origin.

Patched V3d_View::ConverToGrid method to fix the problem
Added test function "vprivilegedplane" for setting/printing grid plane's coordinate system
Added test case bugs/vis/bug25672 to check the issue
remarks from kgv
Warnings eliminating (similar to CR25671)

4 years ago0025746: Excessive memory use in math_Matrix
dbv [Tue, 14 Apr 2015 15:46:12 +0000]
0025746: Excessive memory use in math_Matrix

math_DoubleTab now statically allocates only 16 items for Buf
Removed indirection table from math_DoubleTab

4 years ago0025671: V3d_View::Convert doesn't work as expected in GRID active mode.
apl [Thu, 16 Apr 2015 08:45:10 +0000]
0025671: V3d_View::Convert doesn't work as expected in GRID active mode.

Removed code of converting coordinates to grid in V3d_View::Convert, ::ConvertWithProj methods.
Added test case verifying MoveTo with activated grid and testing V3d_View::Convert, ::ConvertWithProj methods.
Added new test command "vconvert" for testing the conversion methods.

gcc compilation warnings

4 years ago0026073: Changes were lost
anv [Tue, 14 Apr 2015 11:23:28 +0000]
0026073: Changes were lost

Fixed small bug with empty handle usage

4 years ago0025783: Visualization - allow Z-layer to draw 2D objects and to make it alternative...
isz [Thu, 16 Apr 2015 08:33:46 +0000]
0025783: Visualization - allow Z-layer to draw 2D objects and to make it alternative to Overlay and Underlay

Add one more pre-defined Z-layer Graphic3d_ZLayerId_BotOSD.

Define new Transformation Persistence flags Graphic3d_TMF_2d and Graphic3d_TMF_2d_IsTopDown
for displaying objects in screen coordinates.
Anchor point defines angle of the screen to display the object in similar way as for Graphic3d_TMF_TriedronPers.

Extend Draw Harness command vdisplay with new options:
 -overlay as alias for -toposd.
 -underlay and -botosd.
 -noselect to prevent automatic selection activation.
 -dispMode and -highMode to define displaying and highlighting modes.
 -2d, -2dtopdown and -3d to manage displaying in screen coordinates.
 -trsfPers and -trsfPersPos for Transformation Persistence options.

Drop command vsettransmode, replaced by vdisplay.

Correction of test-case bugs vis bug641

4 years ago0026041: GeomLib_Tool::Parameter method fails
ifv [Thu, 16 Apr 2015 08:27:34 +0000]
0026041: GeomLib_Tool::Parameter method fails

Test-case for issue #26041

4 years ago0026033: Coding rules - get rid from _Handle classes
isk [Fri, 10 Apr 2015 11:56:03 +0000]
0026033: Coding rules - get rid from _Handle classes

4 years ago0026031: Visualization - fix out-of-range within Select3D_InteriorSensitivePointSet...
vpa [Thu, 16 Apr 2015 08:19:05 +0000]
0026031: Visualization - fix out-of-range within Select3D_InteriorSensitivePointSet::GetPoints()

Removed unnecessary point duplication at initialization of planar polygons in Select3D_InteriorSensitivePointSet;

Test case for issue #26031

4 years ago0025684: Extend TCollection_ExtendedString with method IsEmpty()
kgv [Fri, 10 Apr 2015 06:48:30 +0000]
0025684: Extend TCollection_ExtendedString with method IsEmpty()

4 years agoBackup() is not efficient in TDataStd array attributes.
szy [Mon, 13 Apr 2015 13:07:19 +0000]
Backup() is not efficient in TDataStd array attributes.

Documentation improvement for set of attributes using 'Delta'.

4 years ago0026035: Length dimension can't be built between two vertices in Draw
dbv [Thu, 9 Apr 2015 08:03:41 +0000]
0026035: Length dimension can't be built between two vertices in Draw

Fixed drawing length dimension for two vertices in Draw
Fixed exception when trying to draw length dimension for face-point or point-face
Fixed drawing length dimension for edge-vertex/point and vertex/point-edge

4 years ago0026070: Ray tracing with reflections is poor on rotated presentation
dbp [Thu, 16 Apr 2015 07:56:46 +0000]
0026070: Ray tracing with reflections is poor on rotated presentation

Test case for issue CR26070

4 years ago0025593: Number of intersection points for 2d curves depends on the order of argument...
nbv [Thu, 16 Apr 2015 07:32:53 +0000]
0025593: Number of intersection points for 2d curves depends on the order of arguments in command "2dintersect"

1. Unification of the polygons creation (it is regardless of arguments order).
2. Output of 2dintersect DRAW-command was changed.
3. Geom2dGcc_Circ2d2TanRadGeo.cxx:
     Precise intersection point found by Extrema Curve-Curve method (dot product between every tangent vector and vector between points on two curves must be equal to zero).
4. Some comments have been translated from French to English.

Some test case have been updated.

Changes in accordance with the last remark

Test case for issue CR25593

4 years ago0025938: BRepBuilderAPI_Transform is not thread safe
msv [Fri, 10 Apr 2015 12:43:21 +0000]
0025938: BRepBuilderAPI_Transform is not thread safe

ModifiedShape() method is made returning shape by value, not by reference.

4 years ago0026027: Visualization, AIS_TexturedShape - back face culling option should not be...
kgv [Tue, 7 Apr 2015 09:17:25 +0000]
0026027: Visualization, AIS_TexturedShape - back face culling option should not be overridden by texturing aspect

4 years ago0025893: Visualization, TKOpenGl - do not use uninitialized memory to track Clipping...
isk [Tue, 7 Apr 2015 08:14:57 +0000]
0025893: Visualization, TKOpenGl - do not use uninitialized memory to track Clipping Planes state

4 years agoCorrection of run.bat for VoxelDemo
bugmaster [Wed, 15 Apr 2015 18:08:29 +0000]
Correction of run.bat for VoxelDemo

4 years agoCorrection pro file in order Treat WChar_t as Built in Type option was set to true
ski [Mon, 13 Apr 2015 13:42:48 +0000]
Correction pro file in order Treat WChar_t as Built in Type option was set to true

4 years ago0025964: Visualization, TKOpenGl - compile RayTracing shader without texturing when...
dbp [Wed, 1 Apr 2015 13:19:20 +0000]
0025964: Visualization, TKOpenGl - compile RayTracing shader without texturing when no textures in use

4 years ago0025885: Visualization, ray tracing - Improve layer processing
dbp [Thu, 9 Apr 2015 05:58:10 +0000]
0025885: Visualization, ray tracing - Improve layer processing

Move Ray-tracing core from OpenGl_Workspace to OpenGl_View.
This patch also contains a number of useful architectural changes.

4 years ago0025992: Method Geom2dAPI_InterCurveCurve::Segment(...) requires detail revision
nbv [Thu, 9 Apr 2015 14:06:47 +0000]
0025992: Method Geom2dAPI_InterCurveCurve::Segment(...) requires detail revision

1. Comment for IsOpposite() method has been amended.
2. Method Geom2dAPI_InterCurveCurve::Segment() has been rewritten in accordance with the Bug description requirements (described problem has been confirmed).

The reason of the exception has been eliminated

4 years ago0026014: Visualization - the IsAutoTriangulated flag is ignored for AIS_ColoredShape
osa [Thu, 9 Apr 2015 13:59:14 +0000]
0026014: Visualization - the IsAutoTriangulated flag is ignored for AIS_ColoredShape

Add test case

4 years ago0025394: Make it possible to store/retrieve the list-based attributes containing...
msv [Thu, 9 Apr 2015 13:34:06 +0000]
0025394: Make it possible to store/retrieve the list-based attributes containing no items

Attention! It is not a complete patch.

First patch for Binary schema.

Fix for Xml schema.

Patch for the standard schema.

Added new Draw commands to test ExtStringList & ReferenceList attributes.

Fix of a small bug in ReferenceListDriver & improvement of Draw Get commands.

Replace tabs with spaces in newly added lines.

Test cases for issue CR25394

4 years ago0024803: improve the result of v/v interference for two vertices case
pkv [Thu, 9 Apr 2015 13:26:40 +0000]
0024803: improve the result of v/v interference for two vertices case

Changes:
class BOPTools_AlgoTools
- method:
void BOPTools_AlgoTools::MakeVertex(BOPCol_ListOfShape& aLV,
                                    TopoDS_Vertex& aVnew)
has been changed.
The section for case of two vertices  has been added

Test case for issue CR24803

4 years ago0026008: Wrong intersection 2D-curves obtained for pair of faces.
nbv [Fri, 3 Apr 2015 07:16:47 +0000]
0026008: Wrong intersection 2D-curves obtained for pair of faces.

The workaround has been deleted from ProjLib_ComputeApprox.cxx file.

Test case for issue CR26008

4 years ago0025742: A partition of 2 shapes stresses a performance issue
nbv [Tue, 7 Apr 2015 14:41:37 +0000]
0025742: A partition of 2 shapes stresses a performance issue

1. Algorithm of aStepU1 computing was changed.
2. Interface to allow convert gp_XY(Z) to the math_Vector has been added.
3. Algorithm of point in V-boundaries computing has been changed.
4. Situation when intersection line walks along V-boundary of cylinder(s) is processed better.
5. Intersection lines are created with their individual step along U1 parameter.
6. Points processing has been moved to the assembly level.
7. Extend output of "bfuseblend" and "bcutblend" DRAW-command.
8. New option for "bfuseblend" and "bcutblend" command has been added.

Update Test cases

Test cases for issue CR25742

4 years ago0025974: Visualization - fix misprints in method naming of Graphic3d_GraduatedTrihedron
kgv [Fri, 3 Apr 2015 18:41:52 +0000]
0025974: Visualization - fix misprints in method naming of Graphic3d_GraduatedTrihedron

V3d_View::GetGraduatedTrihedron() - return configuration structure directly.

OpenGl_View::TriedronDisplay() - do not re-create trihedron on each Display call.
OpenGl_Trihedron::Setup() - eliminate global variables.
OpenGl_PrimitiveArray::buildVBO() - release old VBOs before initialization.

ViewerTest.hxx - move out package header from .cdl file.
ViewerTest::ParseColor() - add new method to parse color arguments in common way.

vzbufftrihedron - improve command syntax.
vgraduatedtrihedron - add options -drawgrid and -drawaxes.

4 years ago0026016: BRepPrimAPI_MakeRevol crash
msv [Thu, 9 Apr 2015 12:03:01 +0000]
0026016: BRepPrimAPI_MakeRevol crash

Correctly treat the case when the line is a trimmed curve.

Test-case for issue #26016

4 years ago0025840: Updating the documentation on Boolean Operations Algorithm
ysn [Thu, 9 Apr 2015 11:41:53 +0000]
0025840: Updating the documentation on Boolean Operations Algorithm

Integration of modifications in Boolean Operations guide. Correction of some errors.

New iteration of modifications and improvements.

Small changes

Correction of compilation warnings, some small semantic changes.

More modifications.

4 years ago0025932: Visualization - method AIS_Shape::setWidth() should set line width for FaceB...
isk [Wed, 8 Apr 2015 09:06:33 +0000]
0025932: Visualization - method AIS_Shape::setWidth() should set line width for FaceBoundaryAspect

4 years ago0026012: Visualization, TKOpenGl - fix misprints in detection of high precision float...
kgv [Thu, 2 Apr 2015 16:06:57 +0000]
0026012: Visualization, TKOpenGl - fix misprints in detection of high precision floats within OpenGL ES 2.0

4 years ago0025894: BRepOffsetAPI_NormalProjection fails to projection an edge on a face
jgv [Mon, 30 Mar 2015 11:43:50 +0000]
0025894: BRepOffsetAPI_NormalProjection fails to projection an edge on a face

Test cases have been added
Fix for trimmed parameters case.

4 years ago0025980: Wrong result obtained by projection algorithm.
aml [Fri, 27 Mar 2015 12:32:10 +0000]
0025980: Wrong result obtained by projection algorithm.

Possibility of "projection failed" state to non-analytical and non-spline surfaces added.
Test-case for issue #25980

4 years agoIncrementation of OCCT version up to 6.9.0 V6_9_0_beta
bugmaster [Tue, 7 Apr 2015 12:38:32 +0000]
Incrementation of OCCT version up to 6.9.0

4 years ago0024623: Visualization - improve selection mechanism
vpa [Mon, 6 Apr 2015 09:31:00 +0000]
0024623: Visualization - improve selection mechanism

Redesign of selection mechanism:
- implemented 3-level BVH tree for selection;
- selection now calculates in 3D space;
- intersection tests were moved to SelectMgr_BaseFrustum descendants;
- removed .cdl files in Select3D and .cdl related to selection in MeshVS;
- SelectMgr_ViewerSelectors are now shared between local and global contexts;
- transformations of sensitive entities are now stored in SelectMgr_SelectableObject only. Sensitive entities are independent from transformations, it is applied to SelectMgr_SelectingVolumeManager instance only;
- connected and multiple connected interactive objects are now represented by their child objects only for SelectMgr_SelectionManager;
- if interactive object has child objects, they will be stored as separate objects in SelectMgr_SelectionManager now.
- test cases bugs/vis/bug24623_1, bug24623_2, bug24623_3, bug24623_4 to test performance and memory issues.

4 years ago0025991: Cyclic dependency in OCCT detected by WOK compiler
nbv [Fri, 3 Apr 2015 15:41:51 +0000]
0025991: Cyclic dependency in OCCT detected by WOK compiler

The reason of possible exception has been eliminated.

4 years ago0026004: Visualization - fix misprint in OpenGl_ShaderManager::prepareStdProgramPhong()
kgv [Wed, 1 Apr 2015 15:20:56 +0000]
0026004: Visualization - fix misprint in OpenGl_ShaderManager::prepareStdProgramPhong()

4 years ago0025539: Visualization, TKOpenGl - support environmental texture within built-in...
dbp [Thu, 19 Mar 2015 15:43:59 +0000]
0025539: Visualization, TKOpenGl - support environmental texture within built-in GLSL programs

4 years ago0025973: Visualization, TKOpenGl - support EAGLContext as alternative to NSOpenGLContext
kgv [Thu, 2 Apr 2015 13:28:54 +0000]
0025973: Visualization, TKOpenGl - support EAGLContext as alternative to NSOpenGLContext

OpenGl_FrameBuffer::InitWithRB() - add method to initialize FBO with Render Buffer Objects.
OpenGl_FrameBuffer::InitWrapper() - add new method to initialize FBO from currently bound in context.

Aspect_RenderingContext - define type explicitly to EAGLContext* / NSOpenGLContext* for ARC.
OpenGl_Window - allow initialization from alien context for OS X / iOS.

4 years ago0025809: Visualization, TKOpenGl - fix texture mapping in capping
kgv [Thu, 2 Apr 2015 13:03:58 +0000]
0025809: Visualization, TKOpenGl - fix texture mapping in capping

Test case for CR25809

Drop test case (opinion of kgv)

4 years ago0026002: Visualization, TKOpenGl - detect alien Core Profile context
kgv [Thu, 2 Apr 2015 12:58:40 +0000]
0026002: Visualization, TKOpenGl - detect alien Core Profile context

Read GL_CONTEXT_PROFILE_MASK flags.

Update of unstable test-case

4 years ago0007093: BRepLib::SameParameter() changes tolerance of shape, not involved into operation
mkv [Thu, 2 Apr 2015 10:33:10 +0000]
0007093: BRepLib::SameParameter() changes tolerance of shape, not involved into operation

4 years ago0023484: Visualization, TKOpenGl - primitive arrays to become the only way to render...
aba [Wed, 25 Mar 2015 11:15:13 +0000]
0023484: Visualization, TKOpenGl - primitive arrays to become the only way to render geometry

OpenGl_CappingAlgo - draw capping plane using OpenGl_PrimitiveArray.
OpenGl_Trihedron - draw trihedron in wireframe mode using OpenGl_PrimitiveArray.

~OpenGl_Context() - release Delayed resources occured after deletion of Shared resources.

Draw Harness, vzbufftrihedron command - redraw viewer after trihedron definition.

4 years ago0025990: Visualization - result of compilation depends on the order of included OCCT...
kgv [Mon, 30 Mar 2015 11:56:44 +0000]
0025990: Visualization - result of compilation depends on the order of included OCCT header files

Define GL_GLEXT_LEGACY within InterfaceGraphic.hxx

4 years ago0025935: Visualization, TKV3d, Exception when displaying shell in the viewer
vpa [Mon, 30 Mar 2015 09:28:26 +0000]
0025935: Visualization, TKV3d, Exception when displaying shell in the viewer

Fixed processing of double precision numbers in Visual3d_View::MinMaxValues;
Test case for issue #25935.

4 years ago0025978: Visualization - setup font aliases for Android
kgv [Thu, 2 Apr 2015 12:10:07 +0000]
0025978: Visualization - setup font aliases for Android

Font_FontMgr - setup system fonts "Droid Sans Mono", "Droid Serif" and "Roboto" as aliases to "Courier", "Times" and "Arial" on Android.
Locate Android system fonts in directory "/system/fonts".

OpenGl_Text::FindFont() - print error message on missed fonts.
OpenGl_Text::render() - allow straightforward font rendering on OpenGL ES.

Do not use "Webdings" in tests.
Drop duplicating test case bugs/vis/bug21091_2.

4 years ago0025982: Wrong result obtained by General Fuse operator.
pkv [Thu, 2 Apr 2015 11:31:51 +0000]
0025982: Wrong result obtained by General Fuse operator.

New features:
class BOPTools_AlgoTools2D
- method
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
  (const BRepAdaptor_Surface& aBAS,
   const Standard_Real aFirst,
   const Standard_Real aLast,
   const Handle(Geom2d_Curve)& aC2D,
   Handle(Geom2d_Curve)& aC2DA)
has been added.
The method uses the refetence to BRepAdaptor_Surface object as parameter.
The fact allows to avoid redundant computations such as
BRepTools::UVBounds(....)

Changes:
 class BOPTools_AlgoTools2D
 - method:
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
  (const TopoDS_Face& aF,
   const Standard_Real aT1,
   const Standard_Real aT2,
   const Handle(Geom2d_Curve)& aC2D,
   Handle(Geom2d_Curve)& aC2DA)
 has been changed.
 The changes are to provide the consistency with I.1

- method:
void BOPTools_AlgoTools2D::MakePCurveOnFace
  (const TopoDS_Face& aF,
   const Handle(Geom_Curve)& aC3D,
   const Standard_Real aT1,
   const Standard_Real aT2,
   Handle(Geom2d_Curve)& aC2D,
   Standard_Real& TolReached2d)
 has been changed.
The changes are to provide the consistency with I.1
The restricted surface is used as data for the projection algorithm.

Test case for CR25982

4 years ago0025833: Visualization, ray tracing - Problems with the backside of triangles
dbp [Thu, 2 Apr 2015 11:27:16 +0000]
0025833: Visualization, ray tracing - Problems with the backside of triangles

Backside triangles are handled correctly by implementing two-sided lighting model. Ray-tracing shader was optimized (up to 25% performance increase).

Test case for CR25833

4 years ago0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers...
kgv [Wed, 25 Mar 2015 12:54:08 +0000]
0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers within buffersNoSwap option

4 years ago0025993: References to enums are wrapped wrong in SWIG Java
apn [Tue, 31 Mar 2015 12:12:58 +0000]
0025993: References to enums are wrapped wrong in SWIG Java

Modified Graphic3d/Graphic3d_GraduatedTrihedron.hxx to prevent using const references to enumerations

4 years agoModified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
apn [Fri, 27 Mar 2015 10:39:33 +0000]
Modified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
bugs/modalg_4/bug8842_7 - test stable OK (removed TODOs).
bugs/modalg_2/bug453_2 - added ?TODO according to unstable behavior (#25918)
bugs/moddata_1/bug22759 - updated reference data
bugs/vis/bug21091_4 bug21091_5 bug21091_6 bug21091_9 - updated reference data
sewing/tol_100/K1 - added ?TODO according to unstable behavior (test will be removed in #25471)

4 years ago0025150: Java wrapper
ski [Fri, 20 Mar 2015 08:27:57 +0000]
0025150: Java wrapper

Workaround name conflicts with OCCT methods for Java wrapper compilation

4 years ago0025710: Visualization - Eliminate all calls of glPushAttrib/glPopAttrib in TKOpenGl
dbp [Tue, 24 Mar 2015 17:30:05 +0000]
0025710: Visualization - Eliminate all calls of glPushAttrib/glPopAttrib in TKOpenGl

4 years agoUpdate test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892
apn [Thu, 26 Mar 2015 14:45:32 +0000]
Update test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892

4 years agoUpdate reference data for test case boolean/bsection/R9
apn [Thu, 26 Mar 2015 14:43:47 +0000]
Update reference data for test case boolean/bsection/R9

4 years agoSmall correction of test case bugs/modalg_5/bug25416_3 for issue CR25416
mkv [Thu, 26 Mar 2015 13:37:24 +0000]
Small correction of test case bugs/modalg_5/bug25416_3 for issue CR25416

4 years ago0025987: Integration part of modified unstable test cases
apn [Thu, 26 Mar 2015 12:44:22 +0000]
0025987: Integration part of modified unstable test cases

Unstable test cases were reviewed
Modified test cases using checktrend command
Modified test cases for Linux platform
Modified test cases for Debug mode

4 years ago0025976: Conversion of an offset face from a spline into a spline face hangs-up the...
ifv [Thu, 26 Mar 2015 12:42:42 +0000]
0025976: Conversion of an offset face from a spline into a spline face hangs-up the application

Tests-case for issue #25976

4 years ago0025969: Wrong result obtained by 2d classifier algorithm.
pkv [Thu, 26 Mar 2015 12:41:00 +0000]
0025969: Wrong result obtained by 2d classifier algorithm.

Class IntTools_FClass2d
method:void IntTools_FClass2d::Init(const TopoDS_Face& aFace,const Standard_Real TolUV)
has been changed.
The cases where derivattive angles that are near to PI are considered as a sign to avoid express treatment for that wire

Test case for CR25969

4 years ago0025416: Wrong section curve
nbv [Wed, 25 Mar 2015 06:52:07 +0000]
0025416: Wrong section curve

1. Restriction line is processed in IntTools_FaceFace with using methods of GeomInt_IntSS class.
2. Check, if Restriction- and Walking-lines (or Restriction-Restriction lines) are coincided, has been added in IntPatch_ImpPrmIntersection.cxx (at that RLine is considered to be isoline only).
3. Check, if RLine and GLine are coincided, has been added in IntPatch_ImpImpIntersection.cxx.
4. Create new class IntPatch_PointLine, which is inherited from IntPatch_Line.
5. The reason of exception (in DEBUG MODE) has been eliminated.

New test cases for issue #25416 were added.

tests/bugs/modalg_5/bug24650 was modified.

4 years ago0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch
Pawel [Tue, 17 Mar 2015 16:43:21 +0000]
0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch

Corrected logic/formatting discrepancy.

4 years ago0025963: Define HashCode() for an unsigned int within armv7 target
kgv [Mon, 23 Mar 2015 15:37:41 +0000]
0025963: Define HashCode() for an unsigned int within armv7 target

OSD_EnvironmentIterator - do not use _NSGetEnviron() on iOS.

4 years ago0025953: BRepMesh_PairOfIndex::Prepend - variable assigned twice
Pawel [Thu, 26 Mar 2015 12:26:16 +0000]
0025953: BRepMesh_PairOfIndex::Prepend - variable assigned twice

Corrected index assignment.
Minor change in exception message.

4 years ago0025652: Visualization, TKOpenGl - RayTracing initialization failures are not properl...
dbp [Thu, 26 Mar 2015 12:22:12 +0000]
0025652: Visualization, TKOpenGl - RayTracing initialization failures are not properly reported

Logging of GLSL warnings was added in ray-tracing core.

4 years ago0025951: Exception in intersection operation.
bugmaster [Fri, 20 Mar 2015 10:03:26 +0000]
0025951: Exception in intersection operation.

The reason of the exception has been eliminated.
Integration of testing case for issue 25951

Adjusting test case for Linux platform

4 years ago0025892: Wrong result obtained by projection algorithm.
aml [Thu, 19 Mar 2015 13:33:43 +0000]
0025892: Wrong result obtained by projection algorithm.

1) Treatment of case when projection algorithm to BSpline surface return null 2d curve.
2) Changed approximation of next step in default projection algorithm.
3) Special handling of surface of revolution added.

"Period jump" handling evaded in case when curve not computed.

Test cases for issue CR25892

Small correction of test cases fot CR25892

4 years ago0025955: Visualization, AIS_Shape::UnsetColor() - fix storing color in a local variable
Pawel [Tue, 17 Mar 2015 17:27:49 +0000]
0025955: Visualization, AIS_Shape::UnsetColor() - fix storing color in a local variable

Removed the color declaration overriding another variable.

4 years ago0025907: Optimization of testdiff command
abv [Mon, 9 Mar 2015 11:28:12 +0000]
0025907: Optimization of testdiff command

- Work with strings optimized in Tcl procedures used in testdiff command
- CPU and memory differences output of testdiff command improved to give relative change in percents
- Cumulative CPU and memory differences are output for test grids
- In HTML output of testdiff command, deviations of memory and CPU measurements greater than 5% are colored (red or green)
- Search of image files in testdiff command corrected to avoid wrong attribution of image file to issues starting with the same first letters; images must start with the test case name, optionally followed by underscore or dash and arbitrary text
- Image_Diff tool optimized for the case if images are exactly the same
- Perf_Meter class output corrected, destructor made non-virtual
- DRAW command diffimage optimized to not save diff files if there is no difference
- Tests User Guide updated according to these changes and actual state

4 years ago0025912: Exception during reading STEP file with GD&T
ika [Thu, 19 Mar 2015 13:10:39 +0000]
0025912: Exception during reading STEP file with GD&T

add missing "break" statements.

Test case for issue CR25912

4 years ago0025718: Unstable work of tests in bug5805 series
msv [Thu, 19 Mar 2015 13:08:06 +0000]
0025718: Unstable work of tests in bug5805 series

Force stable work of the algorithm BRepAlgo_Loop by replacing DataMap collections with List and/or IndexedDataMap in order to provide iterations independent on the memory addresses.

Avoid uninitialized fields in default constructor of Extrema_POnSurf.

Mark bad tests as known bad.

4 years ago0025928: Tool for comparing curves
aml [Fri, 13 Mar 2015 10:27:01 +0000]
0025928: Tool for comparing curves

I
New commands:
xdistcc - check distance between two 3d curves.
xdistcc2ds - check distance between 3d curve and curve on surface (projected curve).
xdistc2dc2dss - check distance between two curve on surface (projected curves).

This commands are print 3d distance between input objects built on even grid.
It is supposed that curves have same parametrization.

usage:
xdistcc curve1 curve2 startParam finishParam [NumberOfSamplePoints]
xdistcc2ds c c2d surf startParam finishParam [NumberOfSamplePoints]
xdistc2dc2dss c2d_1 c2d_2 surf1 surf2 startParam finishParam [NumberOfSamplePoints]

II
Doxygen documentation about "xdist" family added.

4 years ago0025901: Incorrect work of command OCC181 in test-cases bugs fclasses bug181_1 and...
apn [Wed, 18 Mar 2015 11:43:48 +0000]
0025901: Incorrect work of command OCC181 in test-cases bugs fclasses bug181_1 and bug181_2

Modified test cases

4 years ago0025933: Visualization - Forward AIS_InteractiveObject::Redisplay() execution to...
vpa [Thu, 19 Mar 2015 13:02:42 +0000]
0025933: Visualization - Forward AIS_InteractiveObject::Redisplay() execution to AIS_InteractiveContext

AIS_InteractiveObject::Redisplay now redirects the execution to interactive context;
All calls to AIS_InteractiveObject::Redisplay were replaced by AIS_InteractiveContext::Redisplay

Small correction of test case

4 years ago0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':
aba [Fri, 6 Mar 2015 09:23:44 +0000]
0025611: Displaying 'zbufftrihedron' interferes with 'graduatedtrihedron':

- Graphic3d_CGraduatedTrihedron:  moved to Graphic3d_GraduatedTrihedron, added Graphic3d_AxisAspect for axes parameters
- OpenGl_GraduatedTrihedron: moved to primitive arrays, used Graphic3d_GraduatedTrihedron to store parameters
- ViewerTest: corrected vgraduatedtrihedron, added new parameters
- Graphic3d_ArrayOfPrimitives: added AddVertex (Graphic3d_Vec3)
- Graphic3d_GraphicDriver::GraduatedTrihedronMinMaxValues corrected interface

4 years ago0025910: The material with 0-density causes errors during writing STEP files
drazmyslovich [Thu, 19 Mar 2015 12:52:21 +0000]
0025910: The material with 0-density causes errors during writing STEP files

- properly process 0-density material - create STEP density structures if and only if the density is > 0
- properly process 0-density material - create STEP density structures if and only if the density is > 0, but preserve the already mapped structures

Test-case for issue #25910

4 years ago0025630: Possible memory leaks in BRepGProp_Vinert and BRepGProp_Sinert
azn [Thu, 19 Mar 2015 12:50:09 +0000]
0025630: Possible memory leaks in BRepGProp_Vinert and BRepGProp_Sinert

Code refactoring of BRepGProp_Sinert and BRepGProp_Vinert classes.
- All static variables have been removed.
- Common functionality connected with Gauss integration has beem moved from BRepGProp_Sinert and BRepGProp_Vinert classes to the new BRepGProp_Gauss class.

Slight changes in the comments.

Fix compilation error.

Fix Sinert errors. Rebased on new master.

Elimination of constant conditional expression warnings.

Small fix in comment.

4 years ago0025934: Review PERF test group
apn [Fri, 13 Mar 2015 14:26:12 +0000]
0025934: Review PERF test group

Remove perf subgroups which don't contain meaningful check

4 years ago0025931: Visualization - Possibility to initialize an environment texture by Image_Pi...
san [Fri, 13 Mar 2015 14:17:46 +0000]
0025931: Visualization - Possibility to initialize an environment texture by Image_PixMap instance

4 years ago0025898: Wrong result obtained by intersection algorithm.
nbv [Thu, 19 Mar 2015 12:45:54 +0000]
0025898: Wrong result obtained by intersection algorithm.

The reason of the exception has been eliminated.

Test case for issue CR25898

4 years ago0025843: Wire containing degenerated edge is not written to IGES / STEP
ika [Thu, 19 Mar 2015 12:43:17 +0000]
0025843: Wire containing degenerated edge is not written to IGES / STEP

add check for edges with null 2D and 3D curves for STEP,
for IGES problem exists only with wires, where non-invalid edge is only one, and it is not the last in wire(fixed).

Test case for issue CR25843

4 years agoAdjusting CPU time for Windows platform
mkv [Fri, 13 Mar 2015 13:08:15 +0000]
Adjusting CPU time for Windows platform

4 years ago0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw...
ibs [Fri, 6 Mar 2015 15:52:30 +0000]
0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw within disabled immediate update

the superfluous view update of Rotation method removed because of used before Rotate method already does immediate update

4 years ago0025751: Eliminate GCC warning -Wunused-but-set-variable in gp_GTrsf2d.cxx for Androi...
azn [Thu, 12 Mar 2015 09:42:01 +0000]
0025751: Eliminate GCC warning -Wunused-but-set-variable in gp_GTrsf2d.cxx for Android build

Exception macros conditions have been fixed.

4 years ago0025887: Invalid pipe construction
jgv [Thu, 12 Mar 2015 09:35:33 +0000]
0025887: Invalid pipe construction

Test-case for issue #25887

4 years ago0025524: XmlTObjDrivers_ModelDriver::Paste will cause crash when saving model.
szy [Thu, 5 Mar 2015 08:15:30 +0000]
0025524: XmlTObjDrivers_ModelDriver::Paste will cause crash when saving model.

4 years ago0025876: Geom2dAPI_InterCurveCurve returns only one intersection point instead of...
msv [Thu, 12 Mar 2015 09:30:18 +0000]
0025876: Geom2dAPI_InterCurveCurve returns only one intersection point instead of two intersection points

Extend domain of circle to include all possible solutions.

Test case for issue CR25876

Correct test case

Period 'jump" handling algorithm changed.

4 years ago0025858: Incorrect result of open offset on single edge based on BSpline curve
jgv [Thu, 12 Mar 2015 09:27:32 +0000]
0025858: Incorrect result of open offset on single edge based on BSpline curve

Test-case for issue #25883

4 years ago0025897: Visualization, TKOpenGl - disable FBO blitting after first failure on broken...
kgv [Thu, 5 Mar 2015 15:05:58 +0000]
0025897: Visualization, TKOpenGl - disable FBO blitting after first failure on broken OpenGL context

OpenGl_Context::init() - detect OpenGL 2.0+ broken context by wrong GLSL version string.
Emit error messages when OpenGL context reports version higher than actually exported.

Improve logic of methods drawing Immediate presentations and swapping the Buffers.
OpenGl_Workspace::myTransientDrawToFront - repair functionality of this flag
to always render Immediate Objects into Back Buffer.
OpenGl_Workspace::myHasFboBlit - add new flag to disable FBO blitting after first failure.

4 years ago0025841: Incorrect edge displaying
aml [Thu, 12 Mar 2015 09:21:29 +0000]
0025841: Incorrect edge displaying

Handling of too big step changed.
Test-case for issue #25841

Small correction in test-case

4 years ago0025886: Wrong result obtained by projection algorithm
aml [Thu, 12 Mar 2015 09:18:49 +0000]
0025886: Wrong result obtained by projection algorithm

Usage of current iteration approximation added if necessary.

Test-case for issue #25886

4 years ago0025674: Debug dev guide: misprint in Saving and dumping shapes and geometric objects...
ysn [Thu, 12 Mar 2015 09:10:34 +0000]
0025674: Debug dev guide: misprint in Saving and dumping shapes and geometric objects section

Documentation changes and improvements suggested in bugs 25674, 25702 and 25882.
Some corrections for new content in debug.md

4 years agoEliminating problem of TKOpenGl compilation
bugmaster [Thu, 5 Mar 2015 14:11:08 +0000]
Eliminating problem of TKOpenGl compilation

4 years ago0025854: Visualization, TKOpenGl - add option to request Core profile 3.2+
kgv [Thu, 5 Mar 2015 13:00:51 +0000]
0025854: Visualization, TKOpenGl - add option to request Core profile 3.2+

OpenGl_Caps::contextCompatible - new option to request compatibility/core OpenGL profile.
OpenGl_Window - request core profile when requested (WGL and Cocoa).
OpenGl_Context::CheckExtension() - retrieve extensions using glGetStringi().
OpenGl_Context::init() - set backward-compatible functions to NULL within core profile:
core11, core15, core20, core32back, core33back, core41back, core42back, core43back, core44back.
OpenGl_Context::BindDefaultVao() - create default VAO required for core profile.
OpenGl_Context::ReadGlVersion() - make method public.
OpenGl_ShaderManager - create programs using GLSL version 150 when available.
OpenGl_VertexBuffer, OpenGl_ShaderProgram, OpenGl_ShaderObject - use
functions set from core profile instead of compatibility.

TKOpenGl - escape deprecated functionality with runtime checks.

Command vcaps - add option -compatibleProfile to request core/compatibility profile.
NIS_View - prevenr rendering within Core profile (unsupported).

Test case for issue CR25854

Aspect_GraphicCallbackStruct::IsCoreProfile - add new field to the struct for NIS

4 years ago0025540: Visualization - discretization of the circle differs in shaded and wireframe...
osa [Thu, 5 Mar 2015 11:05:11 +0000]
0025540: Visualization - discretization of the circle differs in shaded and wireframe modes.

1. "HilightDrawer" were added to SelectMgr_SelectableObject.
2. Static drawer in StdSelect_Shape was replaced by class member. It's value is taken from special HilightDrawer of Selectable() object.
3. Computed relative deflection is stored as absolute deflection to be used for sub-shapes.
4. The ColoredShape object was updated to use for sub-shapes relative deflection computed for main shape.
5. Test case was added.

Tuning of test-case bug25532

4 years ago0025501: TNaming::Displace calls itself recursively with default parameter.
szy [Wed, 4 Mar 2015 11:58:37 +0000]
0025501: TNaming::Displace calls itself recursively with default parameter.

Patch to fix misprint in method Displace ().

4 years ago0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes
pkv [Thu, 5 Mar 2015 12:02:49 +0000]
0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes

Changes:
class IntTools_FaceFace
    - method:
 void IntTools_FaceFace::Perform(const TopoDS_Face& aF1,
                                const TopoDS_Face& aF2)
The treatment of infinite planes was corrected.

Test case for issue CR25818

4 years ago0025858: Incorrect result of open offset on single edge based on BSpline curve
jgv [Thu, 5 Mar 2015 11:59:21 +0000]
0025858: Incorrect result of open offset on single edge based on BSpline curve

Test cases for issue CR25858

4 years ago0025861: Wrong result obtained by projection algorithm.
aml [Thu, 5 Mar 2015 11:56:28 +0000]
0025861: Wrong result obtained by projection algorithm.

Handling of trimmed analytical surfaces added in extrema PS.

New draw-command and test case for issue CR25861

Correction of test case for issue CR25861

4 years ago0025013: ShapeFix_Wire tweaks for better results
ika [Thu, 5 Mar 2015 11:52:06 +0000]
0025013: ShapeFix_Wire tweaks for better results

Recalculate of tolerance before edge cutting

Test case for issue CR25013

add try to increase tolerance before splitting in singularity during PCurve adding.

Correction of test cases for issue CR25013

4 years ago0023200: Visualization - prevent multiple triangulating of a shape that already has...
osa [Thu, 5 Mar 2015 11:48:42 +0000]
0023200: Visualization - prevent multiple triangulating of a shape that already has been triangulated

Add new flag IsAutoTriangulated to Prs3d_Drawer. It is True by default.
If this flag is True automatic re-triangulation with deflection-check logic will be applied.
Else this feature will be disable and triangulation is expected to be computed by application itself.

Change the syntax of vdefalts command.
Add new parameter -autoTriang for check of AutoTriangulated functionality.

Adjust camera position in test case bugs/xde/bug23969