]> OCCT Git - occt-copy.git/log
occt-copy.git
11 years ago0024853: CLang warnings -Wunused-const-variable
ski [Thu, 17 Apr 2014 09:41:11 +0000 (13:41 +0400)]
0024853: CLang warnings -Wunused-const-variable

Unused variables were removed.

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

Test cases for issues CR24840 and CR24849

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

11 years ago0024800: Point of intersection was not found for 2d offset curve.
gka [Thu, 10 Apr 2014 11:45:18 +0000 (15:45 +0400)]
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

11 years agoTest cases for issue CR24827
mkv [Tue, 22 Apr 2014 12:19:26 +0000 (16:19 +0400)]
Test cases for issue CR24827

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

Actual warnings were fixed.

11 years ago0024843: CLang warnings -Wconstant-logical-operand
ski [Thu, 17 Apr 2014 15:16:58 +0000 (19:16 +0400)]
0024843: CLang warnings -Wconstant-logical-operand

Logical expression is corrected to take into account input argument

11 years ago0024823: Hang up in "bopcheck" command
emv [Thu, 17 Apr 2014 15:14:50 +0000 (19:14 +0400)]
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

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

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

Test case for issue CR24844

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

11 years ago0024775: False detecting of intersection in BRepMesh_Classifier class.
azn [Thu, 17 Apr 2014 12:12:49 +0000 (16:12 +0400)]
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

11 years ago0024846: CLang warnings -Wunneeded-internal-declaration
ski [Wed, 16 Apr 2014 13:34:07 +0000 (17:34 +0400)]
0024846: CLang warnings -Wunneeded-internal-declaration

Unused function was removed.

11 years ago0024820: CLang compiler warning -Wreturn-stack-address
emv [Tue, 15 Apr 2014 12:07:02 +0000 (16:07 +0400)]
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.

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

CLang warnings -Wlogical-not-parentheses were fixed.

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

11 years ago0024848: CLang warnings -Wunused-value
ski [Wed, 16 Apr 2014 14:16:33 +0000 (18:16 +0400)]
0024848: CLang warnings -Wunused-value

Warning should be fixed.

11 years ago0024822: Solve selection fails after copying
vro [Thu, 17 Apr 2014 12:18:38 +0000 (16:18 +0400)]
0024822: Solve selection fails after copying

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

11 years ago0024851: Extra vertex is in the result of Boolean Fuse Operation
pkv [Thu, 17 Apr 2014 12:22:10 +0000 (16:22 +0400)]
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

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

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

11 years ago0024602: Documentation Code Snippets missing sign
ysn [Fri, 11 Apr 2014 16:24:19 +0000 (20:24 +0400)]
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.

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

11 years ago0024809: Exception is raised during perform of "bfillds" command on attached shape
emv [Thu, 10 Apr 2014 14:20:57 +0000 (18:20 +0400)]
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

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

Eliminate MSVC warnings in code generated by Bison 2.41 on Linux

11 years ago0024736: There is new additional compilation warning on Linux platform
kgv [Wed, 19 Mar 2014 08:32:39 +0000 (12:32 +0400)]
0024736: There is new additional compilation warning on Linux platform

11 years agoUpdate testing cases for current state of OCCT6.7.1
apn [Thu, 10 Apr 2014 10:05:37 +0000 (14:05 +0400)]
Update testing cases for current state of OCCT6.7.1

11 years agoOCC_VERSION_DEVELOPMENT changed to "beta"
abv [Wed, 9 Apr 2014 13:04:39 +0000 (17:04 +0400)]
OCC_VERSION_DEVELOPMENT changed to "beta"

11 years ago0024759: Crash on STEP import, when reading a file exported in non-"C" locale
dbv [Tue, 8 Apr 2014 15:19:21 +0000 (19:19 +0400)]
0024759: Crash on STEP import, when reading a file exported in non-"C" locale

Fix for step reading: protection against memory buffer overrun when parsing list of reals written with comma as radix

11 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 (14:26 +0400)]
Fix for building lex scanners on Windows when scanner is generated by flex 2.5.35 on Linux

11 years ago0024722: Move functionality of WOK command wgendoc to OCCT tool gendoc
omy [Mon, 7 Apr 2014 12:48:28 +0000 (16:48 +0400)]
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.

11 years ago0024766: Wrong result for distmini between a TopoDS_Shell and a TopoDS_Edge on versio...
ifv [Thu, 27 Mar 2014 12:44:50 +0000 (16:44 +0400)]
0024766: Wrong result for distmini between a TopoDS_Shell and a TopoDS_Edge on version 6.6.0.

11 years ago0024656: Exception on current version of OCC libraries during perform of boolean...
emv [Thu, 27 Feb 2014 05:38:00 +0000 (09:38 +0400)]
0024656: Exception on current version of OCC libraries during perform of boolean operation (Regression)

Added protection for null vector.
Test case for issue CR24656

11 years ago0024770: On attached shape command "bfillds -s" hangs in Test Harness on the long...
emv [Tue, 8 Apr 2014 07:32:38 +0000 (11:32 +0400)]
0024770: 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.

11 years ago0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl...
duv [Tue, 1 Apr 2014 14:51:41 +0000 (18:51 +0400)]
0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl depth buffer.

11 years agoFix compilation problem on Linux
abv [Tue, 8 Apr 2014 12:36:05 +0000 (16:36 +0400)]
Fix compilation problem on Linux

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

DRAW command and test case for issue CR23972

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

11 years ago0024725: AIS_TexturedShape - flag switching texture modulation mode does not work
apl [Thu, 20 Mar 2014 09:46:40 +0000 (13:46 +0400)]
0024725: AIS_TexturedShape - flag switching texture modulation mode does not work

Missing code restored

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

11 years ago0024762: Visualization - new interactive object AIS_ColoredShape with customized...
kgv [Wed, 2 Apr 2014 07:21:24 +0000 (11:21 +0400)]
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.

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

Test case for issue CR23892

11 years ago0024639: Parallelization FillDS part of BO
pkv [Tue, 1 Apr 2014 03:19:18 +0000 (07:19 +0400)]
0024639: Parallelization FillDS part of BO

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

11 years ago0024767: Crash on making edges in HLRBRep
jgv [Thu, 27 Mar 2014 13:25:41 +0000 (17:25 +0400)]
0024767: Crash on making edges in HLRBRep

11 years ago0024754: Remove constructor for static class TopOpeBRep_PointGeomTool
kgv [Fri, 28 Mar 2014 06:57:47 +0000 (10:57 +0400)]
0024754: Remove constructor for static class TopOpeBRep_PointGeomTool

11 years ago0024764: Alien subshapes occured in result of 'bopcheck' operation
pkv [Thu, 3 Apr 2014 11:29:23 +0000 (15:29 +0400)]
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

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

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

11 years ago0024751: Performance improvements in the Edge/Edge intersection algorithm
emv [Thu, 27 Mar 2014 13:10:12 +0000 (17:10 +0400)]
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

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

Test case for issue CR24738

11 years ago0024684: Command fixshape hangs up on the attached shape
nbv [Thu, 27 Mar 2014 12:56:42 +0000 (16:56 +0400)]
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

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

Test cases for issue CR24633

11 years ago0024565: MgtBRep persistence bug
szy [Thu, 27 Mar 2014 12:48:46 +0000 (16:48 +0400)]
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

11 years ago0024639: Parallelization FillDS part of BO
pkv [Mon, 24 Mar 2014 05:34:34 +0000 (09:34 +0400)]
0024639: Parallelization FillDS part of BO

Modifications to avoid compilation errors

11 years ago0024745: Needless inheritance of OSD_MemInfo from Standard_Transient
kgv [Fri, 21 Mar 2014 12:17:39 +0000 (16:17 +0400)]
0024745: Needless inheritance of OSD_MemInfo from Standard_Transient

11 years agoUpdate testing case for issue 0024499
apn [Fri, 14 Feb 2014 07:56:57 +0000 (11:56 +0400)]
Update testing case for issue 0024499
Added XSDRAW instead of XDE

11 years agoFix compiler issues after extracting commits for OCCT 6.7.1
abv [Tue, 25 Mar 2014 15:12:59 +0000 (19:12 +0400)]
Fix compiler issues after extracting commits for OCCT 6.7.1

11 years ago0024549: Faulty shape after IGES translation with xstep.cascade.unit set to M
ibs [Thu, 20 Mar 2014 10:59:22 +0000 (14:59 +0400)]
0024549: Faulty shape after IGES translation with xstep.cascade.unit set to M

pcurve as line isn't created to avoid incorrect parameterization
Test case for issue CR24549

Test cases were corrected according to their new behavior

11 years ago0024706: Solids produced by BOP do not have flag Closed set in shells
emv [Thu, 20 Mar 2014 10:09:47 +0000 (14:09 +0400)]
0024706: Solids produced by BOP do not have flag Closed set in shells

Flag CLOSED is set for closed shells created during perform of Boolean Operation.
Test cases for issue CR24706

11 years ago0024730: remove constructor for class TopOpeBRep_PointGeomTool
kgv [Wed, 19 Mar 2014 12:10:05 +0000 (16:10 +0400)]
0024730: remove constructor for class TopOpeBRep_PointGeomTool

11 years ago0024733: Subshape IDs change between two executions of a same script
pkv [Wed, 19 Mar 2014 03:02:28 +0000 (07:02 +0400)]
0024733: Subshape IDs change between two executions of a same script

Changes:
1. class BOPTools_Set
   - method:
void BOPTools_Set::AddEdges(const TopoDS_Shape& aS)
has been removed as redundant

2. class BOPTools_Set
   - method:
Standard_Boolean BOPTools_Set::IsEqual  (const BOPTools_Set& theOther)const
has been modified to take into account Locations of the shapes

3. class BOPAlgo_Builder
   - method:
void BOPAlgo_Builder::FillSameDomainFaces()
has been modified in accordance with the modifications done in II.1.

11 years ago0024668: Null flyout value case in AIS_Dimension::SetTextPosition() method is not...
aba [Thu, 20 Mar 2014 09:44:02 +0000 (13:44 +0400)]
0024668: Null flyout value case in AIS_Dimension::SetTextPosition() method is not considered.

Corrected checks of working plane and dimension geometry.

Corrected remarks: IsComputed flag was added to the SelectionGeometry to check if it is filled; AdjustParameters() methods became const ones.

minor remark

11 years ago0024493: Partition algorithm produces not valid shape(splt of 10 faces)
mkv [Tue, 18 Mar 2014 14:37:41 +0000 (18:37 +0400)]
0024493: Partition algorithm produces not valid shape(splt of 10 faces)

Test cases for issue CR24493

11 years ago0024696: Lower performance of the new Edge/Edge intersection algorithm
emv [Thu, 20 Mar 2014 09:36:43 +0000 (13:36 +0400)]
0024696: Lower performance of the new Edge/Edge intersection algorithm

Performance improvements in IntTools_EdgeEdge algorithm:
1. Added check for common box between edges: if common box between edges is thin,
   find exact solutions at once, without looking for rough ranges first;
2. Improved methods IntTools_EdgeEdge::FindBestSolution() and
   IntTools_EdgeEdge::CheckCoincidence(...) by using method SplitRangeOnSegments
   with resolution of the curve as a criteria for size of the ranges.

Test cases for issue CR24696

11 years agoUpdate cpulimit due to issue 24596
bugmaster [Fri, 14 Mar 2014 10:16:51 +0000 (14:16 +0400)]
Update cpulimit due to issue 24596

11 years ago0024596: Slow import of IGES data
ama [Thu, 13 Mar 2014 11:07:45 +0000 (15:07 +0400)]
0024596: Slow import of IGES data

Part 1: Speed up of import functionality.
Correction in ShapeFix_IntersectionTool::FixIntersectingWires() - preliminary construction of ShapeAnalysis_Surface tool for the whole face; computation of 2d bounding boxes for edges and wires before intersection checking.

Part 2: Speed up of check shape.
Correction in BRepCheck_Face::IntersectWires() in the same way: preliminary computation of 2d boxes for edges and wires in order to reduce the number of calls of intersection tool for pair of wires.

Test cases for issue CR24596

11 years ago0024667: BRepOffsetAPI_MakePipe::FirstShape() and LastShape() return shapes not from...
skv [Thu, 13 Mar 2014 10:24:28 +0000 (14:24 +0400)]
0024667: BRepOffsetAPI_MakePipe::FirstShape() and LastShape() return shapes not from result

Test case for issue CR24667

11 years ago0024701: TKernel - drop redundant headers Standard_ctype.hxx and Standard_inverse.h
kgv [Fri, 7 Mar 2014 11:16:22 +0000 (15:16 +0400)]
0024701: TKernel - drop redundant headers Standard_ctype.hxx and Standard_inverse.h

11 years ago0024431: Using svg-images in the documentation
abv [Thu, 13 Mar 2014 09:20:08 +0000 (13:20 +0400)]
0024431: Using svg-images in the documentation

Documentation generator improved to automatically convert SVG images to PDF when PDF documents are generated. This is done with Inkscape thus it becomes necessary for generation of PDF documents.

Doxygen alias "figure" added for easy insertion of images with single command for both HTML and PDF output.

Documentation is updated.

Reviewed documentation.md and added more recommendations on Document Syntax.
Introduced existing svg images in the documentation.

Description of formatting of plain text, code blocks, and references revised.
Snapshot of structure of dox folder is updated.
Copyright year is corrected in PDF documents to be always the current one.

Some grammar corrections.

11 years ago0024719: Snapshots for bugs/vis/bug6145 are unstable
kgv [Thu, 13 Mar 2014 05:36:02 +0000 (09:36 +0400)]
0024719: Snapshots for bugs/vis/bug6145 are unstable

Use "new" Boolean operation instead of "old" one.

11 years ago0024685: Coding Rules - "Draw:Atoi" misprints in the document
kgv [Tue, 4 Mar 2014 15:40:03 +0000 (19:40 +0400)]
0024685: Coding Rules - "Draw:Atoi" misprints in the document

11 years ago0024650: Wrong intersection curves obtained for a surface of revolution and a plane.
ifv [Thu, 6 Mar 2014 11:11:23 +0000 (15:11 +0400)]
0024650: Wrong intersection curves obtained for a surface of revolution and a plane.

Test case for issue CR24650

11 years ago0024679: test command doesn't work with tmp path containing white spaces
ibs [Tue, 4 Mar 2014 08:06:46 +0000 (12:06 +0400)]
0024679: test command doesn't work with tmp path containing white spaces

11 years ago0024639: Parallelization FillDS part of BO
pkv [Thu, 6 Mar 2014 11:05:58 +0000 (15:05 +0400)]
0024639: Parallelization FillDS part of BO

Edge/Edge Interferences

Changes:
1. class BOPAlgo_PaveFiller
  - method:
void BOPAlgo_PaveFiller::PerformEE()
the chages provides the parallel computations of
Edge/Edge interferences.

   - auxiliary classes:
    BOPAlgo_EdgeEdge
    BOPAlgo_EdgeEdgeFunctor
    BOPAlgo_EdgeEdgeCnt
have been added.
The classes are auxiliary classes to provide the parallel computations
of Edge/Edge interferences.

2. class BOPTest
-method:
void BOPTest::PartitionCommands(Draw_Interpretor& theCommands)
- static function:
Standard_Integer bfillds(Draw_Interpretor& di,
                         Standard_Integer n,
                         const char** a)
The syntax of the command "bfillds" has been changed.
> bfillds [-s -t]
options:
-s - launch the algorithm in sequential mode
-t - display CPU time

Test case for issue CR24639

11 years ago0024628: Intersection result is unfixed
emv [Thu, 6 Mar 2014 11:02:08 +0000 (15:02 +0400)]
0024628: Intersection result is unfixed

The map for collecting pave blocks of two faces has been replaced with indexed map
to ensure the constant order of pave blocks when checking section curves for existents.

Test case for issue CR24628

11 years ago0024612: Wrong pcurve of the section curve
nbv [Wed, 5 Mar 2014 12:54:38 +0000 (16:54 +0400)]
0024612: Wrong pcurve of the section curve

Main changes are in "IntWalk_IWalking::TestDeflection(...)" function (IntWalk_IWalking_5.gxx).

Some test cases were corrected according to their new behavior.

11 years ago0024673: Test cases for the new Edge/Edge intersection algorithm
emv [Thu, 6 Mar 2014 10:55:02 +0000 (14:55 +0400)]
0024673: Test cases for the new Edge/Edge intersection algorithm

New test cases for 0024673
Corrected names of shapes in test cases bugs/modalg_5/bug24208_1 - bug24208_14.

11 years ago0024675: Crash reading a VRML file
vro [Thu, 6 Mar 2014 10:48:36 +0000 (14:48 +0400)]
0024675: Crash reading a VRML file

A node index for a normal is passed through a map of corrected references to node indices.

Test case for issue CR24675

11 years ago0024622: Add method to AIS_TexturedShape class to assign texture data directly from...
apl [Thu, 6 Mar 2014 10:15:39 +0000 (14:15 +0400)]
0024622: Add method to AIS_TexturedShape class to assign texture data directly from byte stream

Added methods to specify Image_PixMap as texture source to AIS_TexturedShape and Graphic3d_TextureRoot.
Modified internal class MeshVS_ImageTexture2D, originally used for the purpose of sourcing texture as Image_PixMap.

AIS_TexturedShape class:
- Get rid from cdl declaration.
- Remove unused and uninitialized field myDeflection / method Deflection().
- Improve class documentation.
- Use Graphic3d_NOT_2D_UNKNOWN instead of -1.
- Use myIsCustomOrigin and myToScale flags to use/ignore custom values.

11 years ago0024645: Pointer to the last is wrong for a tree node
vro [Thu, 6 Mar 2014 09:31:59 +0000 (13:31 +0400)]
0024645: Pointer to the last is wrong for a tree node

- An extra call to DownCast() is removed for a performance reason.
- Information on last child is added to the Dump() method + fixed a problem of lost last child tree node on removal (detach) operation.
- Test case for issue CR24645

11 years ago0024671: TKOpenGl, OpenGl_Context - glGetPointerv might be called without GL context
osa [Fri, 28 Feb 2014 06:17:21 +0000 (10:17 +0400)]
0024671: TKOpenGl, OpenGl_Context - glGetPointerv might be called without GL context

11 years ago0024654: Result of Boolean operation is invalid for bopargcheck if rotated
pkv [Thu, 27 Feb 2014 14:50:42 +0000 (18:50 +0400)]
0024654: Result of Boolean operation is invalid for bopargcheck if rotated

class  BndLib
   - method:
void BndLib::Add(const gp_Hypr& H,
                 const Standard_Real P1,
                 const Standard_Real P2,
                 const Standard_Real Tol,
                 Bnd_Box& B)
  - static function:
Standard_Integer ComputeBox(const gp_Hypr& aHypr,
                            const Standard_Real aT1,
                            const Standard_Real aT2,
                            Bnd_Box& aBox)
The function computes bounding box for bounded hyperbola

Test case for issue CR24654

11 years ago0024666: Removal of output information in debug mode in Ocaf
vro [Thu, 27 Feb 2014 14:48:52 +0000 (18:48 +0400)]
0024666: Removal of output information in debug mode in Ocaf

DEB_BUILDER replaces DEB pre-processor directive to eliminate extra output on setting a shape to a label.
Small correction of test case

11 years ago0024575: Exception is raised during 'checkshape' operation.
nbv [Thu, 27 Feb 2014 14:45:27 +0000 (18:45 +0400)]
0024575: Exception is raised during 'checkshape' operation.

Recursion calling of "Propagate(...)" function is replaced with cycle.
Test case for issue CR24575

11 years ago0024645: Pointer to the last is wrong for a tree node
vro [Thu, 27 Feb 2014 14:43:38 +0000 (18:43 +0400)]
0024645: Pointer to the last is wrong for a tree node

Information on last child is added to the Dump() method + fixed a problem of lost last child tree node on removal (detach) operation.
Test case for issue CR24645

11 years ago0024636: Coding Rules - define rules for development of Draw Harness commands
kgv [Thu, 27 Feb 2014 14:39:32 +0000 (18:39 +0400)]
0024636: Coding Rules - define rules for development of Draw Harness commands

.md file corrected grammar, style and logic. Removed redundancies.

11 years ago0024659: misprints in draw documentation
ibs [Tue, 25 Feb 2014 06:53:32 +0000 (10:53 +0400)]
0024659: misprints in draw documentation

11 years ago0024364: Document system should use local MathJax also
ibs [Thu, 27 Feb 2014 14:33:30 +0000 (18:33 +0400)]
0024364: Document system should use local MathJax also

the new ability choosing of the location of MathJax was introduced
new argument was added to gendoc.bat script
MathJax choice was updated for CHM articles
Minor corrections of documentation

11 years ago0024599: Tools for interacting with DRAW from Visual Studio debugger
abv [Thu, 27 Feb 2014 14:22:52 +0000 (18:22 +0400)]
0024599: Tools for interacting with DRAW from Visual Studio debugger

Global functions are added to allow a user performing DRAW commands from VS Command Window when DRAW is interrupted on a breakpoint.
Previously existing functions are adapted to work with Visual Studio debugger (Command Window).
A manual describing use of these functions and other debugging facilities and some hints is added to Developer Guides.
Minor corrections and refinement of debug.md.

11 years ago0024655: Boolean common produces incorrect result
pkv [Thu, 27 Feb 2014 14:15:55 +0000 (18:15 +0400)]
0024655: Boolean common produces incorrect result

class BOPAlgo_WireSplitter
   - method:
void BOPAlgo_WireSplitter::SplitBlock
                 (const TopoDS_Face& myFace,
                   BOPTools_ConnexityBlock& aCB);

 - static functions:
void RefineAngles(const TopoDS_Face& myFace,
                  const BOPCol_ListOfShape& myEdges,
                  BOPAlgo_IndexedDataMapOfShapeListOfEdgeInfo& mySmartMap);

void RefineAngles(const TopoDS_Vertex& aV,
                  const TopoDS_Face& myFace,
                  const BOPCol_MapOfShape& aMBE,
                  BOPAlgo_ListOfEdgeInfo& aLEI);

Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA);

The treatment p-curves convergent in node.
The refining the angles of p-curves taking into account
bounging curves if exist.

Test case for issue CR24655

11 years agoDeleted TODO which is not reproduced in Debug mode.
apn [Fri, 21 Feb 2014 07:50:37 +0000 (11:50 +0400)]
Deleted TODO which is not reproduced in Debug mode.

11 years ago0024648: Different types of intersection curves between Cone and Torus with a differe...
emv [Thu, 20 Feb 2014 13:14:04 +0000 (17:14 +0400)]
0024648: Different types of intersection curves between Cone and Torus with a different order of arguments

Correct treatment of the cases with Cone and Torus.
Test cases for issue CR24648

11 years ago0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the sourc...
pkv [Thu, 20 Feb 2014 13:07:51 +0000 (17:07 +0400)]
0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the source shape

void BOPAlgo_CheckerSI::PrepareCopy()
has been added.
Purpose:
   - provides the copy of the argument
   - provides links between the copy and the original
- protected method:
void BOPAlgo_CheckerSI::PostTreatCopy()
has been added.
Purpose: provides post treat actions wit the copy.

void BOPAlgo_PaveFiller::Perform()
The try/catch mechanism is used inside the method

Standard_Integer bopcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

Standard_Integer bopargcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

packages:
BOPAlgo
BOPTest

Test cases for issue CR24620
Small correction of text case for issue CR24620

11 years ago0024627: Extrema 2d between an arc of circle and an ellipse crashes
ifv [Thu, 20 Feb 2014 12:59:35 +0000 (16:59 +0400)]
0024627: Extrema 2d between an arc of circle and an ellipse crashes

Test case for issue CR24627

11 years ago0024618: Embedding vertex in BOP depends on the order of arguments
pkv [Thu, 20 Feb 2014 12:53:03 +0000 (16:53 +0400)]
0024618: Embedding vertex in BOP depends on the order of arguments

Changes: class BOPDS_DS
   - method:
void BOPDS_DS::AloneVertices(const Standard_Integer theI,
                             BOPCol_ListOfInteger& theLI)const
The condition for DS-index of a vertex has been corrected

class BOPTools_AlgoTools3D
   - static function:
Standard_Boolean HasGeometry(const TopoDS_Shape& aS)
The returnig value  has been corrected for shapes of vertex type

Modified entities:
packages:
BOPDS
BOPTools

Test cases for issue CR24618

11 years ago0024635: Eliminate trivial compiler warnings by GCC in Debug mode
abv [Fri, 14 Feb 2014 12:03:01 +0000 (16:03 +0400)]
0024635: Eliminate trivial compiler warnings by GCC in Debug mode

11 years ago0024642: TKOpenGl, OpenGl_Text - rotation angle is ignored in case of 2D text
osa [Wed, 19 Feb 2014 10:27:15 +0000 (14:27 +0400)]
0024642: TKOpenGl, OpenGl_Text - rotation angle is ignored in case of 2D text

11 years ago0024641: TKOpenGl - public methods of OpenGl_Text and OpenGl_AspectText classes are...
osa [Wed, 19 Feb 2014 10:17:48 +0000 (14:17 +0400)]
0024641: TKOpenGl - public methods of OpenGl_Text and OpenGl_AspectText classes are not exported

11 years ago0024640: Broken logic of check of variable for zero in IntCurvesFace_Intersector...
abv [Wed, 19 Feb 2014 04:54:49 +0000 (08:54 +0400)]
0024640: Broken logic of check of variable for zero in IntCurvesFace_Intersector constructor

The check is fixed to avoid FPE division by zero

11 years ago0024558: Boolean operation can not create all results solids which should be built.
emv [Wed, 12 Feb 2014 11:40:05 +0000 (15:40 +0400)]
0024558: Boolean operation can not create all results solids which should be built.
Corrections in checking 2d distances when splitting wires.
Test case for the issue.

11 years ago0024624: Lost word in license statement in source files
abv [Thu, 20 Feb 2014 12:06:26 +0000 (16:06 +0400)]
0024624: Lost word in license statement in source files

License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.

11 years ago0024530: TKMesh - remove unused package IntPoly
aml [Thu, 13 Feb 2014 05:39:50 +0000 (09:39 +0400)]
0024530: TKMesh - remove unused package IntPoly

Deletion of package IntPoly.

11 years ago0024585: Wrong pcurve of the section curve
nbv [Wed, 12 Feb 2014 10:21:54 +0000 (14:21 +0400)]
0024585: Wrong pcurve of the section curve

PCurve is extended to surface boundary forcefully.
It is made by finding some additional points (if it is possibly).
"bopcurves" DRAW-command returns number of found 3D-curves and (as an option) 2D-curve (see help for more detail information).

Test cases for issue CR24585