Roman Lygin [Fri, 11 Mar 2016 13:44:55 +0000 (17:44 +0400)]
0027254: [Regression] 7.0 types initialization mechanism is not thread-safe on VS2013
The code in Standard_Type::type_instance<T>::get() distinguishes between compilers supporting and not supporting N2660. VS2013 was incorrectly considered as supporting, although the comment stated the opposite.
The fix makes VS2013 treated as not supporting N2660.
kgv [Sat, 5 Mar 2016 13:51:26 +0000 (16:51 +0300)]
0027233: Configuration - do not include version in SONAME for Android target
kgv [Sat, 5 Mar 2016 12:46:42 +0000 (15:46 +0300)]
0027232: Configuration - fix mblen missing building issue on Android
Assume UTF-8 as the only locale supported on Android.
abv [Fri, 4 Mar 2016 11:42:53 +0000 (14:42 +0300)]
0027206: Inconsistent and obsolete information in persistence documentation and Release Notes
Technical docs are reviewed to:
* update references to page with third-party products
* update description of persistence, handles, and RTTI according to changes in OCCT 7.0
* remove references to CDL, WOK, and WOK-generated stuff
* update the list of environment variables
bugmaster [Fri, 4 Mar 2016 06:56:28 +0000 (09:56 +0300)]
Incrementation OCCT version up to 7.0.0 rc
ysn [Thu, 3 Mar 2016 15:37:41 +0000 (18:37 +0300)]
0027218: Add information about porting from earlier versions in update guide
Added:
- porting notes for earlier versions starting with 6.5;
- section about zoom persistent selection
abv [Thu, 3 Mar 2016 17:25:01 +0000 (20:25 +0300)]
0027193: Describe building OCCT with genproj tool
Description of building OCCT with WOK and automake scripts is removed from documentation.
Use of genproj utility is described in pages on building with MSVC, Code::Blocks, and XCode projects.
New script genconf allows starting configuration GUI explicitly; dialog is slightly revised.
Script genproj.sh is renamed to genproj; permissions for scripts are corrected for Linux.
Script env.bat does not set anymore environment required for Products.
myn [Wed, 2 Mar 2016 20:04:30 +0000 (23:04 +0300)]
0026961: Recover possibility to read files in old persistence format
Possibility to read shapes and OCAF documents from old persistence format (Std and StdL schema) is restored.
Test cases used old persistent files on input are restored with suffix "_std"
Removing toolkit from OS package
duv [Mon, 29 Feb 2016 14:11:34 +0000 (17:11 +0300)]
0026571: Visualization, TKOpenGl - write depth values within RayTracing program
View-projection matrix was added to raytrace shaders (as uniform) in order to compute correct depth values for OpenGL.
For path tracing the additional depth buffer sampler was added to Display.fs program. It allows propagation of depth values from internal FBO to resulting FBO.
The old approach of mixing of OpenGL and ray-tracing graphics was kept in order to keep correct blending of transparent ray-traced objects with non-transparent OpenGL objects.
ysn [Thu, 3 Mar 2016 10:33:48 +0000 (13:33 +0300)]
0027216: Review the documentation before the final release.
Some pre-release updates, reviewing and implementation of some adequate remarks from JMA:
- redundant chapters in IGES and STEP guides
- proofreading of recent insertions in Draw, and tests guides
- mathjax information
- data, version, addresses, system requirements in overview.md
Corrections
kgv [Sat, 27 Feb 2016 23:07:27 +0000 (02:07 +0300)]
0027197: Configuration - fix compilation issues when using mingw
AIS_ColorScale, AIS_Dimension - the protected method DrawText()
has been renamed to drawText() to avoid name collisions with macros.
_MSC_VER/_WIN32 misuse has been fixed in several places.
Header <malloc.h> is now included where alloca() is used.
Draw_Window - dllimport flag has been dropped from inline methods.
TKernel - mandatory dependencies Winspool.lib and Psapi.lib
are now linked explicitly (instead of msvc-specific pragma syntax).
CMake scripts - the option -std=c++0x has been replaced by -std=gnu++0x
for mingw to allow extensions (like _wfopen() and others).
The minimum Windows version has been set to _WIN32_WINNT=0x0501.
Invalid options "-z defs" and "-lm" have been dropped for mingw.
Flag --export-all-symbols has been added to CMAKE_SHARED_LINKER_FLAGS
to workaround missing vtable symbols when using mingw.
FreeType is now linked explicitly on Windows.
Draw::Load() - "lib" suffix is now prepended on mingw as well.
Drop redundant declaration of _TINT from OSD_WNT_1.hxx.
NCollection_UtfString::FromLocale() - platform-specific code has been moved to .cxx file.
Draw_BasicCommands - fixed incorrect mingw64 version macros.
genproj, cbp - added workaround for process argument list limits on Windows.
TKSTEP linkage is failing on this platform due to too long list of files.
The list of object files to link is now stored in dedicated file which is passed to gcc.
Option "-z defs" removed from CMake linker options to avoid problems when building with different configurations of VTK on Linux
Some MinGW-specific compiler warnings (potentially uninitialized vars, use of NULL, parentheses in conditional expressions) are fixed (speculatively)
kgv [Mon, 22 Feb 2016 19:07:45 +0000 (22:07 +0300)]
0027198: OSD_Environment - use wide characters API on Windows
gka [Mon, 18 Jan 2016 16:32:22 +0000 (19:32 +0300)]
0026827: Position and orientation for GD&T frames
Implementation of graphical annotations of the PMI read from STEP
abv [Mon, 22 Feb 2016 08:03:27 +0000 (11:03 +0300)]
0027196: CMake - avoid setting option -EHa for compilers other than MSVC
Option -EHa is now added only if MSVC is defined.
Descriptions of option -fp:precise in CMake and method OSD::SetSignal() in header file are updated.
vpa [Wed, 2 Mar 2016 17:27:42 +0000 (20:27 +0300)]
0027180: Visualization - improve selection logic of MeshVS_Mesh
MeshVS_Mesh selection logic in MeshVS_SMF_Mesh mode (entire mesh) has been optimized.
MeshVS_Mesh::ComputeSelection() now creates single sensitive entity
MeshVS_CommonSensitiveEntity (new class) instead of small sensitive entity on each element.
MeshVS_SensitiveQuad (new class) and Select3D_SensitiveTriangle are used instead of Select3D_SensitiveFace for local selection to reduce memory consumption when possible.
jgv [Fri, 26 Feb 2016 12:20:32 +0000 (15:20 +0300)]
0027207: New universal method for extracting of results of work of HLRBRep_Algo algorithm
New method HLRBRep_HLRToShape::CompoundOfEdges with options:
- type of resulting edge
- visibility
- 3d/2d
has been added.
Minor correction of comments
kgv [Sat, 20 Feb 2016 10:10:41 +0000 (13:10 +0300)]
0026969: Visualization - support custom vertex attributes in GLSL program
Graphic3d_TypeOfData - added Graphic3d_TOD_FLOAT for passing single-float vertex attributes.
Graphic3d_TOA_CUSTOM - changed value to increase the range for custom vertex attributes locations (to fit into hardware limits).
Graphic3d_ShaderProgram::SetVertexAttributes() - introduced API for defining custom vertex attributes.
For compatibility with automated wrappers:
- Graphic3d_Buffer::Init() - added prototype taking NCollection_Array1<Graphic3d_Attribute> instead of C array
- Graphic3d_IndexBuffer::InitInt32() - added typed initialization method.
- Graphic3d_ShaderProgram::PushVariableVec3() and others - added typed methods to push uniform varibales.
Benjamin Bihler [Fri, 26 Feb 2016 13:07:28 +0000 (14:07 +0100)]
0027208: Show method in Message_ProgressIndicator::NewScope should not be commented out
Undone commenting out of Show method
abv [Thu, 25 Feb 2016 04:30:18 +0000 (07:30 +0300)]
0026338: STL export (especially binary) needs a lot of time if selected export path is not local
Method StlAPI_Writer::Write() is reimplemented to write triangulation directly, without conversion to StlMesh_Mesh.
New DRAW command "tessellate" is added to generate rapidly triangulation of prescribed size (on surface).
Command "tricheck" is protected to deal correctly with triangulation without UV data.
New tests added: perf de bug26338_1 and _2; bugs stlvrml bug26338
Correction of testing environment
bugmaster [Thu, 25 Feb 2016 14:08:20 +0000 (17:08 +0300)]
0024665: A sample for advanced function mechanism
Update for Linux platform
bugmaster [Sun, 21 Feb 2016 05:39:14 +0000 (08:39 +0300)]
Correction misprinting
aml [Thu, 11 Feb 2016 10:38:55 +0000 (13:38 +0300)]
0027135: Incorrect result of the normal projection algorithm
New check for possible local traps was added to build correct projection cache.
apn [Wed, 17 Feb 2016 12:59:12 +0000 (15:59 +0300)]
0027152: Undefined symbols in library TKernel.so using clang compiler
Added ldl dependency for TKernel only (other toolkits were checked, no undefined symbols)
Added option "-z defs" for linking on Linux
Added lm dependency for all toolkits
oan [Fri, 19 Feb 2016 12:10:18 +0000 (15:10 +0300)]
0024594: Missing surfaces from STL output (second example)
Added test case
Small corrections of test case
jgv [Mon, 15 Feb 2016 11:20:40 +0000 (14:20 +0300)]
0027159: Section between two faces is lost
Minor correction of test case
Another small correction of test case
One more correction of test case
ysn [Thu, 18 Feb 2016 08:56:58 +0000 (11:56 +0300)]
0027177: Review of recent additions in tests.md
Document corrected, warnings fixed.
oan [Fri, 19 Feb 2016 11:58:49 +0000 (14:58 +0300)]
0025045: STEP Import fails to find all surfaces
Added test case
Small corrections in test case
oan [Fri, 19 Feb 2016 11:56:06 +0000 (14:56 +0300)]
0024593: Missing surfaces from STL output
Added test cases
Small corrections of test cases
jgv [Tue, 16 Feb 2016 12:43:13 +0000 (15:43 +0300)]
0026985: Wrong section between two faces: it has a gap
ibs [Fri, 5 Feb 2016 16:14:56 +0000 (19:14 +0300)]
0027138: Configuration, Cmake - incorrect binaries installation path for single generators
specify a path for toolkit shared library
nbv [Mon, 15 Feb 2016 10:51:12 +0000 (13:51 +0300)]
0027035: General fuse algorithm loses face
The main reason of the bug is incorrect check, if the edge is seam-edge or not.
In the fix it is determined with new methods in GeomLib class.
The bug is fixed.
Creation of test case for this fix
Small correction in the code
vro [Wed, 10 Feb 2016 05:04:45 +0000 (08:04 +0300)]
0024665: A sample for advanced function mechanism
PRO file is added + a description of how to generate the Visual Studio projects and compile.
In addition, the sample folder is renamed to FuncDemo.
Adding 64 bit configuration to VC projects
vpa [Wed, 17 Feb 2016 14:57:33 +0000 (17:57 +0300)]
0026231: Visualization - Update description of selection algorithm in the user's guide
- updated description of selection mechanism in sections occt_visu_2_2, occt_visu_3_2_4 and occt_visu_3_6;
- unnecessary images were removed.
New Selection section reviewed.
Semantic corrections
abv [Mon, 25 Jan 2016 07:14:20 +0000 (10:14 +0300)]
0027104: DownCast() cannot return null for mismatched handle
Method DownCast() is made template, to be available only when argument is actually a pointer or handle to a base class.
For compatibility with existing code, method DownCast() that can be used for the same type, derived, or unrelated class (i.e. where there is no actual down casting) is still available, its use shall cause "deprecated" compiler warning.
OCCT code is updated to remove meaningless DownCast()s; a few places where DownCast() was used with argument of unrelated type are corrected.
DRAW command QAHandleCast is removed (it was useful only during redesign of handles).
abv [Tue, 11 Aug 2015 20:01:05 +0000 (23:01 +0300)]
0026549: Provide move constructors and operators for basic classes
Move constructor and operator added for opencascade::handle<>
abv [Sat, 6 Feb 2016 12:26:26 +0000 (15:26 +0300)]
0027111: Add generalized copy constructor in handle class for old compilers
Copy constructor and assignment operator from handle of derived type is added in handle class.
They are enabled only if macro OCC_HANDLE_NOCASTS is defined, and operators of cast of handle to reference to handle to base type are disabled in that case.
Useless type casts to handle to base type are removed in GC and GCE2d classes.
Code returning reference to handle from function is corrected to return it either by value or as reference to handle of actual type.
abv [Wed, 17 Feb 2016 14:33:18 +0000 (17:33 +0300)]
0026377: Passing Handle objects as arguments to functions as non-const reference to base type is dangerous
Operator of cast to non-const reference is declared deprecated to produce compiler warning if used (usually implicitly).
OCCT code is updated to avoid that cast, occurring when function accepting non-const reference to handle is called with handle to derived type.
For that, local variable of argument type is passed instead, and down-cast is used to get it to desired type after the call.
A few occurrences of use of uninitialized variable are corrected.
kgv [Sat, 30 Jan 2016 12:51:35 +0000 (15:51 +0300)]
0027118: Configuration - do not suppress deprecation warnings when using msvc
Patch removes option -wd4996 from VS project settings (which suppresses old deprecation warnings).
Instead, macros _CRT_SECURE_NO_WARNINGS (suppresses 444 warnings) and _CRT_NONSTDC_NO_DEPRECATE (suppresses 17 warnings) have been added.
Deprecation warning on GetVersionEx() has been suppressed locally in OSD_Host.cxx.
In STEPConstruct_AP203Context.cxx, OSD_Host is used instead of low-level system functions.
This eliminates dependency of TKSTEP on winsock32.lib on Windows.
kgv [Sat, 30 Jan 2016 11:54:12 +0000 (14:54 +0300)]
0027113: Coding - add macros Standard_DEPRECATED for marking deprecated functionality
Macro Standard_DEPRECATED("message") can be used in declarations to mark a method deprecated and generate compiler warning when it is used.
If OCCT_NO_DEPRECATED is defined, Standard_DEPRECATED is disabled (defined empty).
abv [Sun, 14 Feb 2016 08:16:24 +0000 (11:16 +0300)]
0027107: ShapeAnalysis_Surface should use GeomAdaptor_Surface for surface evaluation
ShapeAnalysis_Surface is improved to use adaptor for evaluation of points on a surface.
Useless field myExtSur is removed.
DE tests are amended according to induced changes (number of edges varied).
oan [Wed, 17 Feb 2016 14:17:54 +0000 (17:17 +0300)]
0026384: Add explicit check for null magnitude instead of catching of exception in BRepMesh_FastDiscretFace::control()
Check normal for null magnitude using gp::Resolution ()
aml [Tue, 9 Feb 2016 12:19:25 +0000 (15:19 +0300)]
0027131: [Regression to 6.7] DistShapeShape performance loss
Lipchitz constant approximation and fixes in global optimization algorithm added to improve performance.
Test case added.
Possibility to freeze Lipchitz constant is added to improve performance.
abv [Fri, 12 Feb 2016 17:14:27 +0000 (20:14 +0300)]
0027156: Doxygen warnings on overview docs
Documentation corrected to avoid Doxygen warnings
aml [Tue, 16 Feb 2016 12:47:38 +0000 (15:47 +0300)]
0027162: Draw command "(2d)extrema" incorrectly represent underlying algorithm results
Correct handling of infinity solutions added for Curve / Curve case.
Unused code deleted.
Test cases updated to the new behavior.
kgv [Wed, 17 Feb 2016 14:37:43 +0000 (17:37 +0300)]
0027172: Visualization - avoid signed integer overflow within Graphic3d_ArrayOfPrimitives
apn [Wed, 17 Feb 2016 10:24:44 +0000 (13:24 +0300)]
0023202: BRepMesh of face fails
Added test case bugs/mesh/bug23202
oan [Mon, 15 Feb 2016 16:33:29 +0000 (19:33 +0300)]
0026692: BRepMesh hangs on the attached shape due to tessellation points produced out of surface range
BRepMesh_EdgeTessellator: do not use points out of face range and edge tolerance.
Test cases for issue CR26692
abv [Sun, 14 Feb 2016 04:33:18 +0000 (07:33 +0300)]
0026941: Building on Windows with VC14 - debug info is generated for Release build
Generation of debug info is explicitly disabled on link step in templates of Visual Studio 10+ project files used by genproj, to avoid relying on default settings of Visual Studio.
kgv [Mon, 18 Jan 2016 09:57:23 +0000 (12:57 +0300)]
0027086: Samples, jniviewer - avoid duplicating viewer redraws
kgv [Fri, 22 Jan 2016 12:55:55 +0000 (15:55 +0300)]
0026939: Configuration, NCollection_UBTreeFiller - do not use _REENTRANT in a header file
Use std::mt19937 random number generator instead of rand() in NCollection_UBTreeFiller.
boolean gdml_private ZI7 ZJ7 - TODO "bopcheck failed" is only for Linux now, checkshape faulty is unstable (issue #27052)
boolean volumemaker B6 - Added TODO (bopcheck and checkshape faulties)
boolean volumemaker C9 - Added TODO (checkprops and checkshape faulties)
boolean volumemaker D2 - Added TODO (checkshape faulty)
boolean volumemaker H4 - Added TODO (checkprops and checkshape faulties Linux only)
boolean volumemaker D5 - IMVPROVEMENT, TODOs were deleted (bopcheck and checkshape faulties)
bugs modalg_1 buc60462_2 - modified TODOs according to new behavior
boolean gdml_private ZI7 ZJ7 - unstable case, added check for surface area and TODO
samples/tcl/ANC101.tcl - amended due to changed order of edges in BOP result
abv [Tue, 16 Feb 2016 11:53:16 +0000 (14:53 +0300)]
Revert "
0026314: Method SetShape working not correctly."
This reverts commit
e2df45413ea1d506d911c6f29dacf42c80ca8a35.
bugmaster [Fri, 12 Feb 2016 08:33:08 +0000 (11:33 +0300)]
Merge between correction test case in issue 27119 and 26939
abv [Sun, 24 Jan 2016 06:28:08 +0000 (09:28 +0300)]
0027053: Compilation fails with "fatal error RC1103: invalid option, /fp:precise"
CMake script is corrected to add compiler options (except macro definitions) to CMAKE_CXX_FLAGS and CMAKE_C_FLAGS variables directly, instead of using add_definitions() command.
This eliminates failure of build by NMake due to incorrect options passed to RC compiler.
ssv [Mon, 8 Feb 2016 07:43:54 +0000 (10:43 +0300)]
0026260: Tcl scripts for MBB Gehause Rohteil and ANC101 to be added to Samples
Two new sample scripts added, modeling classic shapes from used for comparing modeling systems in 1979 and again in 1983 by Computer Aided Manufacturing International (CAM-I).
kgv [Wed, 10 Feb 2016 13:19:20 +0000 (16:19 +0300)]
0027137: Visualization - handle shadow structures within V3d_View::Gravity()
OpenGl_StructureShadow - copy bounding box from parent structure.
Prs3d_PresentationShadow::CalculateBoundBox() - do nothing.
V3d_View::Gravity() - skip presentations with transformation persistence flags.
Use cached presentation bounding box.
oan [Mon, 1 Feb 2016 14:20:37 +0000 (17:20 +0300)]
0027119: Regression: Draw command "incmesh" hangs on the attacheced face.
BRepMesh_CircleTool: extend radius of circle by quite small value in order to classify points forming inscribed triangle as lying on it. Do not use PConfusion due to false positive result leading algorithm to hanging.
Small correction in test cases bugs/mesh/bug27119
Update of test cases according to the new behavior:
bugs/moddata_1/bug22759
mesh/data/standard/M4
apn [Tue, 9 Feb 2016 11:30:52 +0000 (14:30 +0300)]
0012042: Problem with standard Qt-based Import/Export sample application
Front and right views in OCCT CSharp/mfc/qt samples were swapped.
ski [Tue, 9 Feb 2016 13:57:15 +0000 (16:57 +0300)]
0027145: Remove redundant usage of GetPercent procedure
Usage of GetPercent procedure was replaced by checkreal procedure.
jgv [Wed, 10 Feb 2016 11:37:31 +0000 (14:37 +0300)]
0027134: Offset algorithm produces an invalid shape from a cone
Correction of test case for issue CR27134
jgv [Thu, 4 Feb 2016 10:35:52 +0000 (13:35 +0300)]
0027065: BRepOffsetAPI_MakePipe misses definition of virtual method Generated()
Virtual method Generated() inherited from BRepPrimAPI_MakeSweep is overridden in class BRepOffsetAPI_MakePipe, providing information on shapes generated from the profile.
ski [Tue, 22 Dec 2015 13:59:20 +0000 (16:59 +0300)]
0026333: Regression of BRepOffsetAPI_MakeOffset regarding to 6.7.0: it fails on a shape with BSpline boundaries
Added test case
Small corrections for issue CR26333
kgv [Fri, 5 Feb 2016 10:12:36 +0000 (13:12 +0300)]
0027136: Visualization - skip void bounding box within SelectMgr_SelectableObjectTrsfPersSet::BVH()
nbv [Mon, 8 Feb 2016 07:01:22 +0000 (10:01 +0300)]
0026980: Intersection algorithm spends much system time and system memory
1. Step of Walking-line has been increased as possible and now computes by iteratively adaptive algorithm (every iteration checks if current step is too big/small and decreases/increases one).
2. Interface of IntWalk_PWalking class has been changed
2.1. Method MaxStep() has been added in order to know about maximal distance between 2D-points.
2.2. Method ComputePasInit(...) has been added in order to initial step value computation.
2.3. Fields myTolTang (tolerance for intersection algorithm) and myStepMin (minimal step value) have been added.
Correction of some test cases.
Creation test case for this issue.
Changes to eliminate compiler warnings.
abv [Mon, 1 Feb 2016 14:33:25 +0000 (17:33 +0300)]
0026415: <TFunction_GraphNode> XML should not break line in the middle of text.
Line break between "previous" and "next" ids is replaced by additional spaces (these facilitate visual separation of the two sub-lists).
aml [Fri, 29 Jan 2016 06:11:46 +0000 (09:11 +0300)]
0027114: [Regression to 6.7] DistShapeShape does not find a solution edge-face
Extrema Curve / Surface algorithm changed to perform more accurate search.
test case bug25232_8 - improvement, one additional intersection point is detected now.
test case bug23830 - normal behavior, position of extrema is changed.
test case for original issue added.
ski [Tue, 2 Feb 2016 14:14:15 +0000 (17:14 +0300)]
0027126: Create command checktrinfo to verify meshes
Command checktrinfo was created.
Test cases were updated to use command checktrinfo.
apn [Thu, 28 Jan 2016 13:14:23 +0000 (16:14 +0300)]
0027120: Documentation for check commands
Added documentation fot checkprops, checkdump and checklength commands.
Corrected line break in generated documentation.
ski [Wed, 3 Feb 2016 13:37:52 +0000 (16:37 +0300)]
0027095: Configuration, CMake - configuration process finds tcl folder with incorrect bitness for 32bit case
New pattern for seeking of 3rdparty products was added.
ifv [Tue, 10 Dec 2013 11:40:40 +0000 (15:40 +0400)]
0027063: BRepGProps raises exception on edge with no curves
Method BRepGProp::LinearProperties() is corrected to treat not geometric edges (their length is zero). To avoid wrong working of command nexplode global properties are calculated as point properties of vertexes. Small value Epsilon(1.) is used as density of points. This prevents exception on shapes that contain such edges, e.g. copy of a wire containing degenerated edge.
Method BRep_Tool::IsGeometric() is optimized to avoid nested iteration for check of 3D curve for Null.
Small bug is fixed in GProp_PGProps.cxx
ski [Wed, 27 Jan 2016 06:55:25 +0000 (09:55 +0300)]
0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
abv [Fri, 5 Feb 2016 08:14:03 +0000 (11:14 +0300)]
0025574: gp_YawPitchRoll Euler Angle computation gives wrong results - warnings
Eliminate VC14 compiler warnings
ski [Thu, 28 Jan 2016 11:48:07 +0000 (14:48 +0300)]
0027121: Configuration, CMake - build process does not use patched header files
Corrected collecting of all headers to <binary dir>/inc folder
Small correction of documentation about CMake configuration process
kgv [Sat, 30 Jan 2016 15:24:12 +0000 (18:24 +0300)]
0027123: Visualization, TKOpenGl - fix environment texture GLSL program
OpenGl_ShaderManager::prepareStdProgramFlat() - properly initialize vec4.
ifv [Tue, 26 Jan 2016 13:56:23 +0000 (16:56 +0300)]
0027110: Regression: Draw command "parameters" can not compute parameter on the line.
Useless variable MAXTOLERANCEGEOM is removed in order to allow to place point at any distance from curve/surface.
Algorithm is simplified: particular calculations for analytical geometry are removed, only using of Extrema_... is kept.
Test case for issue #27110
isk [Fri, 29 Jan 2016 07:34:22 +0000 (10:34 +0300)]
0026726: Draw Harness, ViewerTest - AIS_InteractiveContext::EraseSelected() lacks test case
Update draw command ViewerTest::Erase().
apn [Fri, 22 Jan 2016 12:59:10 +0000 (15:59 +0300)]
0027094: Create command checkdump for parsing dumps (geometry test group)
checkdump - procedure to parse output dump and compare it with reference values;
checklength - procedure to compute length of input shape.
Added procedures and modified test group geometry.
apn [Mon, 25 Jan 2016 15:55:11 +0000 (18:55 +0300)]
0027109: Modifiy test cases using procedure checklength
Modify cases
vpa [Wed, 20 Jan 2016 19:11:02 +0000 (22:11 +0300)]
0027083: Visualization, Ray Tracing - shape with visible face boundaries disappears after turning the ray-tracing on
- default state of aspects is now restored to prevent backface culling which is not supported by ray-tracing yet;
- added test case for issue #27083
azv [Thu, 21 Jan 2016 08:35:24 +0000 (11:35 +0300)]
0027048: BSpline cache is always wrong outside of surface
1. Disable recalculation of B-spline cache when the parameter is out of surface boundary but near the cached span.
2. Rebuild cache each time a curve/surface is loaded into adaptor (B-spline knots may be re-parametrized outside adaptor without changing base curve)
3. Test cases.
akz [Tue, 13 Oct 2015 07:30:52 +0000 (10:30 +0300)]
0025574: gp_YawPitchRoll Euler Angle computation gives wrong results
Conversion of gp_Quaternion to and from intrinsic Tait-Bryan angles (including gp_YawPitchRoll) is fixed.
Before that fix the sequence of rotation axes was opposite to intended; e.g. gp_YawPitchRoll (equivalent to gp_Intrinsic_ZYX) actually was defining intrinsic rotations around X, then Y, then Z.
Now this is fixed, and rotations are made in correct order.
Comments to gp_EulerSequence enumeration are restored (lost due to CDL extraction).
Test bugs fclasses bug25574 is added to check correctness of Euler sequences, including cases from #25574 and #25946.
ibs [Thu, 14 Jan 2016 16:17:00 +0000 (19:17 +0300)]
0027077: OCAF: Implementation of streaming save/load (OCC26229) is incomplete/incorrect
XmlOcaf reading is non-seekable
// 1. Read method of XmlLDrivers_DocumentRetrievalDriver extended to read complete document (with "document" tag) in compatible mode (when reading is performed from file)
// 2. the empty statement removed
// 3. the description of LDOMPARSER::parse method extended
ysn [Thu, 21 Jan 2016 11:21:27 +0000 (14:21 +0300)]
0026187: Implement m-dashes in the documentation
- m-dashes added.
- some other cases of incorrect dash use fixed
- unicode dashes were removed throughout the documentation.
- other comments taken into account.
bugmaster [Wed, 27 Jan 2016 11:27:29 +0000 (14:27 +0300)]
0024677: Control of license statements and non-ascii characters in integrated code
Update of license statements and non-ascii characters
abv [Fri, 22 Jan 2016 08:42:32 +0000 (11:42 +0300)]
0027097: GCC and CLang compiler warnings and errors with -Wpedantic
Useless semicolons are removed after closing braces of namespaces and macros in code dependent on FreeImage and VTK.
Comments added at the closing braces of namespaces to help comprehension.
In OSD_File.cxx and OSD_Disk.cxx, unnecessary declarations of system functions are removed
Jacob Abel [Fri, 22 Jan 2016 00:28:38 +0000 (16:28 -0800)]
0027105: Make code ISO-compliant [-Wpedantic fixes]
Remove extra semicolons and correct function prototypes for GCC -pedantic ISO compliance option
Benjamin Bihler [Mon, 18 Jan 2016 13:01:56 +0000 (14:01 +0100)]
0027088: Documentation of add method of GeomConvert_CompCurveToBSplineCurve lacks speed hint
Improved documentation
nbv [Tue, 19 Jan 2016 11:05:25 +0000 (14:05 +0300)]
0026132: Invalid result of boolean operation
1. The procedures for check of coincidence between Edge-Edge and Edge-Face have been added. These methods are used instead of searching interferences between corresponding sub-shapes. In most cases (including case for this issue), new methods are more reliable and faster than intersections. However, its use should be avoided in case when the edge is not coincide with edge/face of another argument evidently (e.g. if edge vertices are not in another edge/face).
2. Interface of both IntTools_EdgeFace and IntTools_EdgeEdge has been changed (adding/deleted some field and methods).
Some test cases have been corrected in accordance with their new behavior.
Test case for issue CR26132.
isn [Fri, 15 Jan 2016 13:22:32 +0000 (16:22 +0300)]
0027085: ShapeUpgrade_UnifySameDomain very large performance difference for seemingly similar shapes
Performance of the algorithm ShapeUpgrade_UnifySameDomain has been improved by avoiding of multiple calls of ShapeBuild_ReShape::Apply() method.
New test cases have been added.
ika [Thu, 14 Jan 2016 12:46:25 +0000 (15:46 +0300)]
0027078: Exception in ShapeFixIntersectionTool::UnionVertexes()
Add checks to avoid exceptions.
Remove check for small 3D curve, now pcurve will be built for all small edges, which have not been removed by FixSmall.
kgv [Wed, 20 Jan 2016 07:24:20 +0000 (10:24 +0300)]
0027092: Coding - src/BRep/BRep_Tool.hxx extra semicolon triggers annoying warnings on Clang
kgv [Tue, 19 Jan 2016 11:17:45 +0000 (14:17 +0300)]
0027080: Coding - eliminate CLang compiler warning on OS X: unused parameter (in .mm files)
ski [Mon, 18 Jan 2016 10:29:38 +0000 (13:29 +0300)]
0021875: Section of face by plane produces invalid result
Test case was added.
abv [Thu, 7 Jan 2016 07:02:16 +0000 (10:02 +0300)]
0024836: Stack overflow when raising exception in low memory condition
Standard_OutOfMemory exception is refactored so as to avoid memory allocations (which will likely fail) when it is raised:
- method NewInstance() returns static instance (singleton)
- method Raise() raises copy of that singleton, resetting its message string
- message string is stored as field, not allocated dynamically (thus maximum message length is limited by buffer size)
Class Standard_Failure slightly revised: method Destroy() is merged to destructor, methods Get/SetMessageString() are made virtual.
Add test case for the bug
ski [Wed, 9 Dec 2015 08:55:05 +0000 (11:55 +0300)]
0026942: Training material are not built on OCCT installed after building by cmake procedure
Environment variable QT_DIR was renamed to QTDIR.
isn [Wed, 13 Jan 2016 14:17:15 +0000 (17:17 +0300)]
0027045: firsthole & holend commands work incorrectly
firsthole / holend / hole commands have been corrected.
Now they work correctly on the planar faces
Also some commented code have been deleted
Temporary update for backward compatibility with WOK
isn [Mon, 11 Jan 2016 15:32:41 +0000 (18:32 +0300)]
0027066: BRepFeat_MakeCylindricalHole::Perform() hides overloaded virtual function
Moving to protected section
ika [Tue, 12 Jan 2016 15:08:26 +0000 (18:08 +0300)]
0026989: [Regression in 6.9.0] Export of a reversed face leads to wrong data in 6.9.0
Add range for degenerated edges to mirrored pcurves during exporting of reversed faces.
ysn [Tue, 12 Jan 2016 12:47:42 +0000 (15:47 +0300)]
0026804: The level of most VIS Viewer commands is incorrect
Added highlighting of links with blue color.
Fixed incorrect tags.
abv [Thu, 14 Jan 2016 05:34:44 +0000 (08:34 +0300)]
0026511: Build fails with VTK 6.3rc1
Obsolete typedef "vtkFloatingPointType" is replaced by "double" in VIS and DRAW
aml [Mon, 11 Jan 2016 09:21:01 +0000 (12:21 +0300)]
0027059: Point->Curve Projection/Extrema fails [OCCT 7 only]
Add check to run extrema search when necessary condition of extrema is true (small value of first derivative of objective function).
Test case added.