occt.git
5 years ago0024834: Allocation of memory for exception message must not throw another exception
msv [Thu, 24 Apr 2014 12:25:08 +0000]
0024834: Allocation of memory for exception message must not throw another exception

- Add QA draw command OCC24834
- Make functions allocate_message/deallocate_message use malloc/free instead of operator new/delete
- Eliminate compilation error on Linux

Test case for issue CR24834

5 years ago0024376: BMP image cannot be read
mkv [Wed, 23 Apr 2014 10:34:04 +0000]
0024376: BMP image cannot be read

Test case for issues CR24376

5 years ago0024852: Crash on storage of an Ocaf document in XML file format
vro [Thu, 17 Apr 2014 11:56:55 +0000]
0024852: Crash on storage of an Ocaf document in XML file format

Blanks are removed.
A check is implemented to correct a GUID in case of presence of the blanks.

Test case for issues CR24852

5 years ago0024842: Crash on change of HLR-algo in top and bottom views of customer's shape
jgv [Wed, 16 Apr 2014 11:55:09 +0000]
0024842: Crash on change of HLR-algo in top and bottom views of customer's shape

Test cases for issues CR24842

5 years ago0024861: Extra solid is in the result of General Fuse Operation
pkv [Mon, 21 Apr 2014 11:54:03 +0000]
0024861: Extra solid is in the result of General Fuse Operation

I. New features:
No new features.

II. Changes:
II.1. class BOPAlgo_ShellSplitter
   - statc function:
void RefineShell(TopoDS_Shell& theShell);
has been addded.
The function provides splitting connexity block of faces when the block begins with
the face that is intended to be internal.

II.2. class BOPAlgo_ShellSplitter
   - statc function:
Standard_Boolean IsClosedShell(const TopoDS_Shell& theShell);
has been modified to process empty shells.

II.3. class BOPAlgo_ShellSplitter
   - method:
void BOPAlgo_ShellSplitter::SplitBlock(BOPTools_ConnexityBlock& aCB);
has been modified to process connexity blocks of faces when the block
begins with the face that is intended to be internal [ II.1 ].

III. Modified entities:
packages:
BOPAlgo

Test case for issue CR24861

5 years ago0024857: CLang warnings -Wunused-function
ski [Fri, 18 Apr 2014 11:15:21 +0000]
0024857: CLang warnings -Wunused-function

Unused functions were removed.

5 years ago0024798: Boolean operation CUT produces incorrect result
emv [Mon, 14 Apr 2014 11:52:02 +0000]
0024798: Boolean operation CUT produces incorrect result

Face classifier has been used to check adjustment of 2d curve for the face.

Test case for issue CR24798

5 years ago0024853: CLang warnings -Wunused-const-variable
ski [Thu, 17 Apr 2014 09:41:11 +0000]
0024853: CLang warnings -Wunused-const-variable

Unused variables were removed.

5 years ago0024840: Exception in BRepOffsetAPI_MakePipe
jgv [Mon, 21 Apr 2014 11:47:53 +0000]
0024840: Exception in BRepOffsetAPI_MakePipe

Test cases for issues CR24840 and CR24849

5 years ago0024845: CLang warnings -Wunused-variable
ski [Thu, 17 Apr 2014 11:48:25 +0000]
0024845: CLang warnings -Wunused-variable
Unused variables were removed.

5 years ago0024800: Point of intersection was not found for 2d offset curve.
gka [Thu, 10 Apr 2014 11:45:18 +0000]
0024800: Point of intersection was not found for 2d offset curve.

For fix this case in method Geom2dInt_Geom2dCurveTool::NBSamples() number of samples for 2d offset and trimmed curve is computed as max value from number of samples for other curve and number of samples for basis curve.

Test case for issue CR24800

5 years ago0024827: Incorrect result of projection of an edge on a face
mkv [Tue, 22 Apr 2014 12:19:26 +0000]
0024827: Incorrect result of projection of an edge on a face

Test cases for issue CR24827

5 years ago0024814: Avoid using explicit names of Handle classes
abv [Wed, 9 Apr 2014 14:48:28 +0000]
0024814: Avoid using explicit names of Handle classes

Sources corrected replacing Handle_XXX by Handle(XXX)

5 years ago0024856: CLang warnings -Wunused-private-field
ski [Fri, 18 Apr 2014 11:02:41 +0000]
0024856: CLang warnings -Wunused-private-field

Actual warnings were fixed.

5 years ago0024843: CLang warnings -Wconstant-logical-operand
ski [Thu, 17 Apr 2014 15:16:58 +0000]
0024843: CLang warnings -Wconstant-logical-operand

Logical expression is corrected to take into account input argument

5 years ago0024823: Hang up in "bopcheck" command
emv [Thu, 17 Apr 2014 15:14:50 +0000]
0024823: Hang up in "bopcheck" command

Modifications:
class IntTools_EdgeEdge
 1. method
   Standard_Boolean IntTools_EdgeEdge::FindParameters(
      const BRepAdaptor_Curve& theB
      const Standard_Real aT1,
      const Standard_Real aT2,
      const Standard_Real theRes,
      const Standard_Real thePTol,
      const Bnd_Box& theCBox,
      Standard_Real& aTB1,
      Standard_Real& aTB2)

   Added protection for large values of parameters of the edges.

 2. methods
    static Standard_Boolean BndCommon(const Bnd_Box& theB1,
                                      const Bnd_Box& theB2,
                                      Bnd_Box& theBOut)
   and
    IntTools_EdgeEdge::FindSolutions()

   have been removed as redundant.

Test case for issue CR24823

5 years ago0024844: Wrong result of Boolean Cut operation.
emv [Thu, 17 Apr 2014 15:03:12 +0000]
0024844: Wrong result of Boolean Cut operation.

Small correction in intersection between Cone and Torus with collinear axes.

Test case for issue CR24844

5 years ago0024793: Documentation of methods using BRepFill_TypeOfContact has to be updated...
jgv [Thu, 17 Apr 2014 09:44:16 +0000]
0024793: Documentation of methods using BRepFill_TypeOfContact has to be updated according to changes introduced in OCCT 6.7.0

5 years ago0024846: CLang warnings -Wunneeded-internal-declaration
ski [Wed, 16 Apr 2014 13:34:07 +0000]
0024846: CLang warnings -Wunneeded-internal-declaration

Unused function was removed.

5 years ago0024820: CLang compiler warning -Wreturn-stack-address
emv [Tue, 15 Apr 2014 12:07:02 +0000]
0024820: CLang compiler warning -Wreturn-stack-address
The signature of the function BOPDS_DS::CommonBlock(const Handle(BOPDS_PaveBlock)& thePB)
has been changed to return handle, not a reference to handle.

5 years ago0024818: CLang warnings -Wlogical-not-parentheses
ski [Wed, 16 Apr 2014 11:59:21 +0000]
0024818: CLang warnings -Wlogical-not-parentheses

CLang warnings -Wlogical-not-parentheses were fixed.

5 years agoDeleted TODO in test case de/step_3/E6 regarding to issue 24249.
apn [Fri, 18 Apr 2014 10:41:47 +0000]
Deleted TODO in test case de/step_3/E6 regarding to issue 24249.

5 years agoDeleted unnecessary TODOs in test cases with improvements on MacOS platform. Small...
apn [Fri, 18 Apr 2014 10:37:15 +0000]
Deleted unnecessary TODOs in test cases with improvements on MacOS platform. Small corrections of test cases for MacOS.

5 years ago0024406: Visualization - crash on re-usage of the same primitive array
kgv [Thu, 17 Apr 2014 14:01:04 +0000]
0024406: Visualization - crash on re-usage of the same primitive array

Redesign Graphic3d_ArrayOfPrimitives
Store vertices data in buffer objects managed using smart-pointers
- no more low-level memory corruption by memory releasing after VBO creation.
Remove broken hasEdgeInfos.

Interleave vertex attributes (position, color, normal, uv) in single buffer.
Remove from Graphic3d_ArrayOfPrimitives methods ::Orientate().
Remove structures Graphic3d_PrimitiveArray, CALL_DEF_PARRAY.
Add support for 2D vertex arrays.

Graphic3d_Group - remove array or primitive arrays.
Introduce more universal method Graphic3d_Group::AddPrimitiveArray().

Fix warning

5 years ago0024851: Extra vertex is in the result of Boolean Fuse Operation
pkv [Thu, 17 Apr 2014 12:22:10 +0000]
0024851: Extra vertex is in the result of Boolean Fuse Operation

class IntTools_FaceFace
   - statc function:
void CorrectSurfaceBoundaries(const TopoDS_Face&  theFace,
                              const Standard_Real theTolerance,
                              Standard_Real&      theumin,
                              Standard_Real&      theumax,
                              Standard_Real&      thevmin,
                              Standard_Real&      thevmax)
The faces based on cylidrical surface has been added to the list of candidates to extend the boundaries

Test case for issue CR24851

5 years ago0024822: Solve selection fails after copying
vro [Thu, 17 Apr 2014 12:18:38 +0000]
0024822: Solve selection fails after copying

The method ::Paste() copies myIndex now.
Test case for issue CR24822

5 years ago0024249: Crash on ShapeFix_Shape
ibs [Thu, 17 Apr 2014 12:16:36 +0000]
0024249: Crash on ShapeFix_Shape

MAIN CHANGES:
FixAddNaturalBound: the boundaries of "natural bound addition" are restricted: a face, that does not contains an outer wire, should not have any infinite UV boundaries due to new face building (with using a surface) requires specified UV boundaries.
FixAddNaturalBound: myResult is updated in FixAddNaturalBound when the method creates a new face with natural boundary. myResult is required to be updated for next "fix small-area wires" algorithm
IsPeriodicConicalLoop: incorrect working BRepTools_WireExplorer was replaced on TopoDS_Iterator.
a natural bound is added to all the faces are constructed with UV-periodical surfaces (not only sphere and torus; e.g., closed b-splines)

other:
ShapeAnalysis: ReverceSeq renamed to ReverseSeq
BRep_Tool Pnt and Tolerance has the check for null TShape
Test cases for issue CR24249

required null checks were added
test cases were corrected according to their new behavior
Correction test case for issue CR24249

5 years ago0024775: False detecting of intersection in BRepMesh_Classifier class.
azn [Thu, 17 Apr 2014 12:12:49 +0000]
0024775: False detecting of intersection in BRepMesh_Classifier class.

Increased checking accuracy of endpoints touching of segments.
Code formatting improvement.
Test case for issue CR24775
Correction test case for issue CR24775

5 years ago0024848: CLang warnings -Wunused-value
ski [Wed, 16 Apr 2014 14:16:33 +0000]
0024848: CLang warnings -Wunused-value

Warning should be fixed.

5 years ago0024639: Parallelization FillDS part of BO
pkv [Tue, 15 Apr 2014 03:19:00 +0000]
0024639: Parallelization FillDS part of BO

The contents dealing with:
Parallel computation of Face/Face interferences;
Parallel computation of Edge/Edge interferences (Post-Treatment Level);
Parallel intersection of bounding boxes (BOPDS_Iterator Level).

5 years ago0024825: Fit Boolean Operation Algorithm to treat multiple arguments.
pkv [Thu, 17 Apr 2014 12:04:29 +0000]
0024825: Fit Boolean Operation Algorithm to treat multiple arguments.

class BOPTest
class BOPAlgo_BOP
class BOPAlgo_Builder
class BOPTest
class BRepFeat_Builder
class BRepFeat_MakeCylindricalHole

The format of the command has been changed:
bbop r op [-s -t]
The following options has been added:
-s - run in serial mode
-t  - print the CPU time

Test cases for issue CR24825

5 years ago0024821: CLang warning -Wunsequenced in StdSelect_ViewerSelector3d
kgv [Thu, 10 Apr 2014 12:16:27 +0000]
0024821: CLang warning -Wunsequenced in StdSelect_ViewerSelector3d

5 years ago0024805: Eliminate unused static functions and methods: ShallowDump(), ShallowCopy...
abv [Fri, 11 Apr 2014 09:59:41 +0000]
0024805: Eliminate unused static functions and methods: ShallowDump(), ShallowCopy(), STANDARD_TYPE(...)

Implementation of global functions STANDARD_TYPE() for types not inheriting Standard_Transient or Standard_Persistent are eliminated.

Global functions and class methods ShallowCopy() are removed; also removed unused classes Visual3d_PickPath and Visual3d_PickDescriptor.

Global functions and class methods ShallowDump() are removed, except for classes Standard_GUID, TopLoc_Datum, and TopLoc_Location as the latter are still used in some Debug printouts.

5 years ago0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl...
duv [Thu, 17 Apr 2014 11:56:41 +0000]
0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl depth buffer.

Cosmetic fixes.
glDepthFunc fix.

5 years ago0024649: Update user's guide for Boolean operations
ysn [Mon, 31 Mar 2014 07:09:22 +0000]
0024649: Update user's guide for Boolean operations

New User's Guide on Boolean operations added.

5 years ago0024578: Typos in Developer Guide "Building OCCT from sources"
ysn [Tue, 1 Apr 2014 11:53:48 +0000]
0024578: Typos in Developer Guide "Building OCCT from sources"

Dev guides for building 3rd party products and "short guide" to WOK have been reviewed.

5 years ago0024602: Documentation Code Snippets missing sign
ysn [Fri, 11 Apr 2014 16:24:19 +0000]
0024602: Documentation Code Snippets missing sign

Fix for bug 24602 about missing <, >, " and some other signs.
Also a major review of documetation to fix wrong formatting issues.

5 years agoAdded TODO in test case for Debug mode
apn [Fri, 11 Apr 2014 09:57:24 +0000]
Added TODO in test case for Debug mode

5 years ago0024759: Crash on STEP import, when reading a file exported in non-"C" locale
dbv [Thu, 10 Apr 2014 16:13:01 +0000]
0024759: Crash on STEP import, when reading a file exported in non-"C" locale

Fix for step reading
Add test case bugs/xde/bug24759

5 years ago0024534: Improve design of Image_PixMap class
kgv [Fri, 4 Apr 2014 05:15:40 +0000]
0024534: Improve design of Image_PixMap class

Remove template methods Image_PixMap::EditData(), ::ReadData().
Add template method Image_PixMap::ChangeValue().
Remove redundant parameter for Image_PixMap::Clear() method.

Make Image_PixMapData non-template class. Introduce NCollection_Buffer.

5 years ago0024538: BRepFill_CompatibleWires.cxx, implementation of function PlaneOfWire() is...
aml [Mon, 7 Apr 2014 08:09:39 +0000]
0024538: BRepFill_CompatibleWires.cxx, implementation of function PlaneOfWire() is suboptimal

Implementation improvements and refactoring in PlaneOfWire() function.

5 years ago0024708: Convertation of the generic classes to the non-generic. Part 2
dln [Wed, 5 Mar 2014 14:22:43 +0000]
0024708: Convertation of the generic classes to the non-generic. Part 2

Generic classes from "AppParCurves" package:
    "AppDef_SmoothCriterion", "AppDef_LinearCriteria" and "AppDef_Variational" moved to the corresponding non-generic classes "AppDef_SmoothCriterion", "AppDef_LinearCriteria" and "AppDef_Variational" to "AppDef" package. Also several "*.cxx" files of "AppDef_Variational" class merged to one ".cxx".
Generic class from "IntImp" package:
    "IntImp_ZerCOnSSParFunc" moved to the corresponding non-generic class "IntPatch_CSFunction" to "IntPatch" package.
Next unused generic classes were removed:

- IntCurveSurface_SurfaceTool
- Intf_InterferencePolygon3d
And some other minor changes.

5 years ago0024520: Implementing affine transformations in ray-tracing
duv [Mon, 31 Mar 2014 12:36:21 +0000]
0024520: Implementing affine transformations in ray-tracing

5 years ago0024797: TKOpenGl, OpenGl_PointSprite - the assert is absent during incorrect object...
osa [Fri, 4 Apr 2014 15:31:48 +0000]
0024797: TKOpenGl, OpenGl_PointSprite - the assert is absent during incorrect object releasing.

5 years ago0024639: Parallelization FillDS part of BO
pkv [Tue, 8 Apr 2014 08:22:16 +0000]
0024639: Parallelization FillDS part of BO

The contents dealing with the parallel computation of Vertex/Face interferences.

5 years ago0024722: Move functionality of WOK command wgendoc to OCCT tool gendoc
omy [Thu, 10 Apr 2014 14:23:18 +0000]
0024722: Move functionality of WOK command wgendoc to OCCT tool gendoc

Command gendoc improved to:
- generate Reference Manual documentation (OCCT classes reference) with option -refman; option -overview can be used for generation of overview documentation;
- generate PDF documents for all User Guides automatically (for files listed in FILES_PDF.txt);
- check availability of third-party tools (Doxygen, Inkscape etc.) and properly report warnings and errors.
- use templates of configuration files for third-party tools instead of their generation. These template files are located in dox/resources folder

Tcl scripts are moved from dox folder to adm.
Doxygen warnings are eliminated.
Moved all auxilary functions to occaux.tcl.
Fixed Reference manual generation on *nix platform.
Fixed PDF generation on *nix platforms.

5 years ago0024809: Exception is raised during perform of "bfillds" command on attached shape
emv [Thu, 10 Apr 2014 14:20:57 +0000]
0024809: Exception is raised during perform of "bfillds" command on attached shape

On attached shape command "bfillds -s" hangs in Test Harness on the long time. In debug mode exception is raised.
Vectors are normalized before calculation of an angle.
Added test case bugs/modalg_5/bug24809

5 years ago0024812: Provide VS2012 debugger visualizer for OCCT types
agv [Wed, 9 Apr 2014 08:13:20 +0000]
0024812: Provide VS2012 debugger visualizer for OCCT types

5 years ago0024792: Remove unused hacks for compilers without STL
kgv [Thu, 3 Apr 2014 13:15:09 +0000]
0024792: Remove unused hacks for compilers without STL

5 years ago0024804: OSD_PerfMeter documentation is broken
kgv [Mon, 7 Apr 2014 12:29:04 +0000]
0024804: OSD_PerfMeter documentation is broken

5 years ago0024808: cmake does not compile mfc sample
ibs [Tue, 8 Apr 2014 08:11:00 +0000]
0024808: cmake does not compile mfc sample

OCC_StereoConfigDlg.cxx/h were added into mfcsample CMakeLists.txt meta-project

5 years ago0024656: Exception on current version of OCC libraries during perform of boolean...
emv [Thu, 10 Apr 2014 13:54:09 +0000]
0024656: Exception on current version of OCC libraries during perform of boolean operation (Regression)

Added protection for null vector.
Test case for issue CR24656

5 years ago0024766: Wrong result for distmini between a TopoDS_Shell and a TopoDS_Edge on versio...
ifv [Thu, 10 Apr 2014 13:52:25 +0000]
0024766: Wrong result for distmini between a TopoDS_Shell and a TopoDS_Edge on version 6.6.0.

Test case for issue CR24766
Modified test case bugs/modalg_5/bug24766

5 years ago0024755: TDF_Label::AddAttribute() reverses the order of added attributes
szy [Thu, 10 Apr 2014 13:50:49 +0000]
0024755: TDF_Label::AddAttribute() reverses the order of added attributes

Test case and new draw command for issue CR24755
Fix of regression linked with test case bug24047.
Fix of bug361 regression on Linux.

5 years ago0024791: Visualization - highlighting is not cleared in local selection on some OpenG...
kgv [Thu, 3 Apr 2014 10:56:54 +0000]
0024791: Visualization - highlighting is not cleared in local selection on some OpenGL drivers

Force GL commands execution by glFlush().

5 years ago0023972: Exception thrown when intersecting two cones
mkv [Tue, 29 Oct 2013 13:22:11 +0000]
0023972: Exception thrown when intersecting two cones

DRAW command and test case for issue CR23972

5 years agoNew compiler warnings (vc10 64-bit) fixed in BOPCol_TBB.hxx
abv [Fri, 4 Apr 2014 04:48:45 +0000]
New compiler warnings (vc10 64-bit) fixed in BOPCol_TBB.hxx

5 years ago0024795: TKOpenGl - new compilation warnings in OpenGl_Workspace_Raytrace.cxx
kgv [Thu, 3 Apr 2014 16:39:35 +0000]
0024795: TKOpenGl - new compilation warnings in OpenGl_Workspace_Raytrace.cxx

5 years ago0024572: Improvement performance of BRepExtrema_DistShapeShape
dbp [Thu, 10 Apr 2014 13:42:41 +0000]
0024572: Improvement performance of BRepExtrema_DistShapeShape

Fix compilations issues.
Fix compilation issues with GCC.

5 years ago0024794: Drop unused files Standard_osd_ffi.c and Standard_symlink.c
kgv [Thu, 3 Apr 2014 13:30:35 +0000]
0024794: Drop unused files Standard_osd_ffi.c and Standard_symlink.c

5 years ago0024625: Upgrade Bison to version 2.2 or above
abv [Thu, 10 Apr 2014 11:12:23 +0000]
0024625: Upgrade Bison to version 2.2 or above

Eliminate MSVC warnings in code generated by Bison 2.41 on Linux

5 years agoFix for building lex scanners on Windows when scanner is generated by flex 2.5.35...
abv [Wed, 9 Apr 2014 10:26:37 +0000]
Fix for building lex scanners on Windows when scanner is generated by flex 2.5.35 on Linux

5 years ago0024731: Incomplete section of a surface by plane
apn [Fri, 4 Apr 2014 12:26:26 +0000]
0024731: Incomplete section of a surface by plane

Added test case bugs/modalg_5/bug24731

5 years agoAdded TODO in unstable test case de/step_3/E6.
apn [Fri, 4 Apr 2014 10:17:19 +0000]
Added TODO in unstable test case de/step_3/E6.

5 years agoIncrease CPU limit in test case bugs/modalg_5/bug24758_2 in Debug mode.
apn [Fri, 4 Apr 2014 10:16:15 +0000]
Increase CPU limit in test case bugs/modalg_5/bug24758_2 in Debug mode.

5 years ago0024739: TKOpenGl - port ray-tracing from OpenCL to GLSL for better integration and...
dbp [Fri, 4 Apr 2014 10:14:02 +0000]
0024739: TKOpenGl - port ray-tracing from OpenCL to GLSL for better integration and portability

RayTracing - disable reflections by default
Fix possible compilation issue on Mac OS X.

5 years ago0024778: Convertation of the generic classes to the non-generic. Part 9
dln [Fri, 28 Mar 2014 07:28:22 +0000]
0024778: Convertation of the generic classes to the non-generic. Part 9

Generic classes:

 "GccIter_Circ2d2TanOn",
 "GccIter_Circ2d3Tan",
 "GccIter_Lin2d2Tan",
 "GccIter_Lin2dTanObl"

from "GccIter" package were converted to the non-generic classes and moved to the "Geom2dGcc" package. Names of this classes were changed to:

 "Geom2dGcc_Circ2d2TanOnIter",
 "Geom2dGcc_Circ2d3TanIter",
 "Geom2dGcc_Lin2d2TanIter",
 "Geom2dGcc_Lin2dTanOblIter".

And their internal classes:

 "GccIter_FunctionTanCuCuOnCu",
 "GccIter_FunctionTanCuCuCu",
 "GccIter_FunctionTanCirCu",
 "GccIter_FunctionTanCuCu",
 "GccIter_FunctionTanCuPnt",
 "GccIter_FunctionTanObl"

also converted to the non-generic and moved to the "Geom2dGcc" package(their declarations were moved to "Geom2dGcc.cdl").

Enumerations" Type1, Type2 and Type3 were moved to "Geom2dGcc.cdl".

Package "GccIter" was deleted.

5 years ago0024773: Convertation of the generic classes to the non-generic. Part 7
dln [Fri, 28 Mar 2014 05:35:15 +0000]
0024773: Convertation of the generic classes to the non-generic. Part 7

1) Generic classes:

 "GccGeo_Circ2dTanOn",
 "GccGeo_Circ2d2TanRad",
 "GccGeo_Circ2d2TanCen",
 "GccGeo_Circ2d2TanOnRad",
 "GccGeo_CurvePGTool"

from "GccGeo" package converted to the non-generic classes and moved to the "Geom2dGcc" package. Names of this classes were changed to:

 "Geom2dGcc_Circ2dTanOnGeo",
 "Geom2dGcc_Circ2d2TanRadGeo",
 "Geom2dGcc_Circ2d2TanCenGeo",
 "Geom2dGcc_Circ2d2TanOnRadGeo",
 "Geom2dGcc_CurveToolGeo".

Also "GccGeo_PanGenCurve" unused generic class was deleted. And "GccGeo" package was deleted.

5 years ago0024761: Convertation of the generic classes to the non-generic. Part 5
dln [Thu, 20 Mar 2014 04:19:13 +0000]
0024761: Convertation of the generic classes to the non-generic. Part 5

1) Generic class "GccEnt_QualifiedCurv" from "GccEnt" package converted to the non-generic class and moved to the "Geom2dGcc" package. Name of this class was changed to "Geom2dGcc_QCurve".

2) Generic classes "HatchGen_ElementGen", "HatchGen_ElementsGen", "HatchGen_HatchingGen" and "HatchGen_Hatcher" from "HatchGen" package converted to the non-generic classes and moved to the "Geom2dHatch" package. Names of this classes were changed to "Geom2dHatch_Element", "Geom2dHatch_Elements", "Geom2dHatch_Hatching" and "Geom2dHatch_Hatcher". Also all instantiations of the "internal" classes of this classes were moved to the "Geom2dHatch.cdl".

3) Generic classes "Extrema_GExtCC", "Extrema_GExtCC2d", "Extrema_GLocateExtCC" and "Extrema_GLocateExtCC2d" from "Extrema" package converted to the non-generic classes. Names of this classes were changed to "Extrema_ExtCC", "Extrema_ExtCC2d", "Extrema_LocateExtCC" and "Extrema_LocateExtCC2d". Also all instantiations of the "internal" classes of this classes were moved to the "Extrema.cdl".

5 years ago0024763: Convertation of the generic classes to the non-generic. Part 6
dln [Tue, 25 Mar 2014 07:55:53 +0000]
0024763: Convertation of the generic classes to the non-generic. Part 6

Next generic classes:

 "Contap_ArcFunction",
 "Contap_ContourGen",
 "Contap_HContToolGen",
 "Contap_HCurve2dToolGen",
 "Contap_Line",
 "Contap_Point",
 "Contap_SurfFunction",
 "Contap_SurfProps"

from "Contap" package were converted to the non-generic classes. Names of several classes were changed:

 "Contap_Contour",
 "Contap_HContTool",
 "Contap_HCurve2dTool",
 "Contap_Line",
 "Contap_Point"

 Also all instantiations of the "internal" classes of this classes were moved to the "Contap.cdl". And sources of the "Contap_ContourGen" class were merged to one .cxx file.

5 years ago0024774: Convertation of the generic classes to the non-generic. Part 8
dln [Fri, 28 Mar 2014 05:55:22 +0000]
0024774: Convertation of the generic classes to the non-generic. Part 8

Generic classes:

 "GProp_CGProps",
 "GProp_SGProps",
 "GProp_VGProps",
 "GProp_VGPropsGK",
 "GProp_TFunction" (internal),
 "GProp_UFunction" (internal)

from "GProp" package converted to the non-generic classes and moved to the "BRepGProp" package. Names of several classes were changed to:

 "BRepGProp_Cinert",
 "BRepGProp_Sinert",
 "BRepGProp_Vinert",
 "BRepGProp_VinertGK".

Also all instantiations of the "internal" classes of this classes were moved to the "Geom2dHatch.cdl". For new "BRepGProp_TFunction" and "BRepGProp_UFunction" internal classes two new "*.cdl" files were created.

5 years ago0023892: Missing intersection edge between two faces.
jgv [Thu, 3 Apr 2014 12:42:18 +0000]
0023892: Missing intersection edge between two faces.

Test case for issue CR23892

5 years ago0024712: Extend DRAW commands "vertex" and "extrema". Create test to check all points...
abk [Thu, 3 Apr 2014 12:34:22 +0000]
0024712: Extend DRAW commands "vertex" and "extrema". Create test to check all points for bug 23830.

DRAW command "vertex" was extended to create vertex from point.
DRAW command "extrema" was extended and unified: both extrema points are outputted to DRAW in case of too close points;
parameters of extremal points are outputted.
35 shapes were added for anti-regression tests.
Second DRAW test was created for bug CR23830.

Move shapes to shape-repository

5 years ago0024405: TKernel - add aligned allocator class Standard_MMgrAligned
kgv [Thu, 3 Apr 2014 12:31:35 +0000]
0024405: TKernel - add aligned allocator class Standard_MMgrAligned

New class NCollection_AlignedAllocator.
New macros STANDARD_ALIGNED.
New methods Standard::AllocateAligned() and Standard::FreeAligned().
Add missing Standard_EXPORT

5 years ago0024762: Visualization - new interactive object AIS_ColoredShape with customized...
kgv [Thu, 3 Apr 2014 12:29:23 +0000]
0024762: Visualization - new interactive object AIS_ColoredShape with customized subshapes presentations

AIS_Shape, ::SetColor(), ::SetMaterial(), ::SetTransparency(), ::SetWidth() - improve consistency.
Setup color for marker aspect as well.
vaspects - new command superseeds vsetcolor, vsetmaterial, vsettransparancy, vsetwidth
and their unset analogs. Improve syntax and arguments validation.
OpenGl_AspectMarker::SetAspect() - do not reset myMarkerSize when sprite is unchanged.
Extend NCollection_IndexedDataMap - Iterator::Key() and FindFromKey() with value copying.

Add test case bugs vis bug24762_coloredshape.

5 years ago0024777: Visualization - AIS_InteractiveContext::MoveTo() doesn't keep detected objec...
kgv [Thu, 3 Apr 2014 12:24:28 +0000]
0024777: Visualization - AIS_InteractiveContext::MoveTo() doesn't keep detected object at first call

Draw Harness, ViewerTest - ignore rectangular selection for empty rectangle

5 years ago0024757: DRAW: Move commands fixshape, tolerance, and similar to MODELING
dbv [Thu, 3 Apr 2014 12:22:15 +0000]
0024757: DRAW: Move commands fixshape, tolerance, and similar to MODELING

Package SWDRAW has been moved to TKTopTest toolkit. Class SWDRAW_ToVRML has been moved to XSDRAWSTLVRML_ToVRML
Removed unused classes:
SWDRAW_ShapeBuild
SWDRAW_ShapeConstruct
XSDRAW_Shape
Removed NSPApply command
Test script update
Removed xtrace command

5 years ago0024639: Parallelization FillDS part of BO
pkv [Tue, 1 Apr 2014 03:19:18 +0000]
0024639: Parallelization FillDS part of BO

The contents dealing with the parallel computation of Vertex/Face interferences.

5 years ago0024767: Crash on making edges in HLRBRep
jgv [Thu, 27 Mar 2014 13:25:41 +0000]
0024767: Crash on making edges in HLRBRep

5 years ago0024747: TKOpenGl - Mesa fails to destroy context if it set to current thread
apl [Fri, 28 Mar 2014 07:34:27 +0000]
0024747: TKOpenGl - Mesa fails to destroy context if it set to current thread

5 years ago0023710: Simplification of presentation managment classes
kgv [Thu, 3 Apr 2014 11:33:26 +0000]
0023710: Simplification of presentation managment classes

Merge PrsMgr_Presentation3d into PrsMgr_Presentation
Cosmetics

5 years ago0024754: Remove constructor for static class TopOpeBRep_PointGeomTool
kgv [Fri, 28 Mar 2014 06:57:47 +0000]
0024754: Remove constructor for static class TopOpeBRep_PointGeomTool

5 years ago0024764: Alien subshapes occured in result of 'bopcheck' operation
pkv [Thu, 3 Apr 2014 11:29:23 +0000]
0024764: Alien subshapes occured in result of 'bopcheck' operation

class BOPAlgo_ArgumentAnalyzer
   - method:
void BOPAlgo_ArgumentAnalyzer::TestSelfInterferences()
The new shapes has been excluded from the treatment

void BOPAlgo_CheckerSI::PostTreat()
The new shapes has been excluded from the treatment

Standard_Integer bopcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The new shapes has been excluded from the treatment.
The interferences of the type */Solid has been included in the treatment.

Test case for issue CR24764

5 years agoUpdate of test cases for Debug
mkv [Fri, 28 Mar 2014 12:02:18 +0000]
Update of test cases for Debug

5 years ago0024765: Compile errors on Mac OS X with GCC 4.2
abv [Wed, 26 Mar 2014 12:06:10 +0000]
0024765: Compile errors on Mac OS X with GCC 4.2

Sequence replaced by handle in map, to avoid involvement of copy constructor (private)

5 years ago0024535: Bad type cast in TDocStd_Document::Update()
szy [Wed, 26 Mar 2014 12:49:44 +0000]
0024535: Bad type cast in TDocStd_Document::Update()

Eliminating of GCC compiler warning on breakage of C pointer aliasing rules.

5 years ago0024752: Visualization - inherit OpenGl_Group from Graphic3d_Group
kgv [Thu, 27 Mar 2014 13:12:18 +0000]
0024752: Visualization - inherit OpenGl_Group from Graphic3d_Group

Graphic3d_Group is now abstract class and should be instantiated
using Graphic3d_Structure::NewGroup() method.
Graphic3d_CGroup has been removed.

The groups list is no more duplicated within Graphic3d_Structure and OpenGl_Structure.
Removed unused/duplicated fields from Graphic3d_Group.

Prs3d_Presentation - remove redundnant field myCurrentGroup.
PrsMgr_Presentation3d::Erase(), ::Clear() - avoid possible NULL dereference.
OpenGl_GraphicDriver/Graphic3d_GraphicDriver - group management methods have been removed
(moved to Graphic3d_CStructure and Graphic3d_Group interfaces).

Graphic3d_Group::GroupPrimitivesAspect() - copy IsEmission flag
Fix wrong iterator
Fix compilation issues

5 years ago0024751: Performance improvements in the Edge/Edge intersection algorithm
emv [Thu, 27 Mar 2014 13:10:12 +0000]
0024751: Performance improvements in the Edge/Edge intersection algorithm

Added new static method PointBoxDistance() to compute distance between point and bounding box.
Removed method IntTools_EdgeEdge::FindRoughRanges().
Test cases for issue CR24751

5 years ago0024738: BRepOffsetAPI_MakePipe algorithm fails on circular path and section (the...
jgv [Thu, 27 Mar 2014 12:59:41 +0000]
0024738: BRepOffsetAPI_MakePipe algorithm fails on circular path and section (the case where result is part of sphere)

Test case for issue CR24738

5 years ago0024684: Command fixshape hangs up on the attached shape
nbv [Thu, 27 Mar 2014 12:56:42 +0000]
0024684: Command fixshape hangs up on the attached shape

Algorithm of seeking of any internal point into given face is corrected.
Test case for issue CR24684

5 years ago0024758: Sample DRAW scripts for demonstrating sweeping algorithm
abv [Thu, 27 Mar 2014 12:54:50 +0000]
0024758: Sample DRAW scripts for demonstrating sweeping algorithm

Two scripts added:
samples/tcl/drill.tcl: creates model of a twist drill bit
samples/tcl/cutter.tcl: creates simplified model of a milling cutter
Added test cases bugs/modalg_5/bug24758_1 bug24758_2

5 years ago0024633: Incorrect projection of a curve on a surface
jgv [Thu, 27 Mar 2014 12:51:39 +0000]
0024633: Incorrect projection of a curve on a surface

Test cases for issue CR24633

5 years ago0024565: MgtBRep persistence bug
szy [Thu, 27 Mar 2014 12:48:46 +0000]
0024565: MgtBRep persistence bug

Fix of the persistence bug (exception with message "Persistant CurveRep is Null").
Creating new draw command for testing CR24565
Revert license header corruption
Correction for new draw command OCC24565
Test case for issue CR24565

5 years ago0024639: Parallelization FillDS part of BO
pkv [Mon, 24 Mar 2014 05:34:34 +0000]
0024639: Parallelization FillDS part of BO

Modifications to avoid compilation errors

5 years ago0024354: TKOpenGl - location modification of multi-connected shape has no effect...
duv [Tue, 18 Mar 2014 11:22:31 +0000]
0024354: TKOpenGl - location modification of multi-connected shape has no effect when object is drawn by GLSL program

5 years ago0024745: Needless inheritance of OSD_MemInfo from Standard_Transient
kgv [Fri, 21 Mar 2014 12:17:39 +0000]
0024745: Needless inheritance of OSD_MemInfo from Standard_Transient

5 years ago0024748: Remove unused instantiations of collection classes
abv [Thu, 27 Mar 2014 12:36:03 +0000]
0024748: Remove unused instantiations of collection classes

Removed:
- packages PColPGeom, PColPGeom2d
- in Geom package: classes SequenceOfBoundedSurface, (H)SequenceOfSurface
- in TColGeom package: classes Array1OfBoundedCurve, (H)Array1OfBoundedSurface, HArray1OfBoundedCurve, (H)Array2OfBoundedSurface, (H)Array2OfBSplineSurface, HArray2OfBezierSurface, (H)SequenceOfBoundedSurface, HSequenceOfSurface
- in TColGeom2d package: classes (H)Array1OfGeometry, (H)Array1OfBoundedCurve, HSequenceOfGeometry

5 years ago0024734: Convertation of the generic classes to the non-generic. Part 4
dln [Thu, 27 Mar 2014 12:29:16 +0000]
0024734: Convertation of the generic classes to the non-generic. Part 4

Generic classes "LProp_FuncCurExt", "LProp_FuncCurNul" and "LProp_NumericCurInf" from "LProp" package converted to the non-generic classes and moved to the "Geom2dLProp" package. Therefore names of this classes were changed to "Geom2dLProp_FuncCurExt", "Geom2dLProp_FuncCurNul" and "Geom2dLProp_NumericCurInf".
Generic class "Sweep_LinearRegularSweep" from "Sweep" package converted to the non-generic classes and moved to the "BRepSweep" package. Therefore name of this class was changed to "BRepSweep_NumLinearRegularSweep". Also 2 internal classes of "BRepSweep_NumLinearRegularSweep" moved to "BRepSweep.cdl".
Generic classes "Primitives_Wedge" and "Primitives_OneAxis" from "Primitives" package converted to the non-generic classes and moved to the "BRepPrim" package. Therefore names of this classes were changed to "BRepPrim_GWedge" and "BRepPrim_OneAxis". Also enum "Direction" moved to BRepPrim. Therefore all "Primitives" package was deleted.
And some other minor changes were done.

Internal classes Array2OfShapes and SequenceOfShapes from BRepSweep_NumLinearRegularSweep replaced to Array2OfShape and SequenceOfShape from TopTools.

5 years ago0024683: Convertation of the generic classes to the non-generic. Part 1
dln [Thu, 27 Mar 2014 12:24:53 +0000]
0024683: Convertation of the generic classes to the non-generic. Part 1

Generic classes from "BRepApprox" package:
    "BRepApprox_ApproxLineGen" and "BRepApprox_SurfaceToolGen" converted to the non-generic classes "BRepApprox_ApproxLine" and "BRepApprox_SurfaceTool".
Generic classes from "BRepBlend" package:
    "BRepBlend_HCurve3dToolGen" and "BRepBlend_HCurve2dToolGen" converted to the non-generic classes "BRepBlend_HCurve3dTool" and "BRepBlend_HCurve2dTool".
Generic classes from "Blend" package:
    "Blend_Extremity", "Blend_Line" and "Blend_PointOnRst" moved to the corresponding non-generic classes "BRepBlend_Extremity", "BRepBlend_Line" and "BRepBlend_PointOnRst" to "BRepBlend" package.

And some other minor changes were done.
Field "myPntOn2S" was deleted from "BRepApprox_ApproxLine" class. Therefore BRepApprox_ApproxLine::Point(...) method was a little changed.

5 years agoUpdate test cases for debug mode
mkv [Fri, 21 Mar 2014 12:16:29 +0000]
Update test cases for debug mode