1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00
Commit Graph

2482 Commits

Author SHA1 Message Date
pdn
c7c896e95d 0026664: Triangulating a very small polygon fails
Parameter for adaptive computation of minimal 2D meshing precision added
2015-09-10 11:06:23 +03:00
pdn
3e63891d8f Merge remote-tracking branch 'remotes/origin/CR26229_V6_9_0p1' into CR25926_V6_9_0p3 2015-08-24 16:59:17 +03:00
jgv
a495ec8d5e Fix of bug 26572 for issue #12 2015-08-21 17:32:12 +03:00
msv
66596219b8 0026466: UnifySameDomain creates invalid result shape from valid input shape 2015-07-24 12:26:53 +03:00
oan
cd2a8fb393 0026407: BRepMesh_Delaun should not take into account frontier edges on first pass of algorithm
Correction of new vertices insertion: remove all triangles shot by point even if they contain frontier edges in order to prevent cases of free edge glued with frontier;
findNextPolygonLink: choose link with opposite direction to previous one as the last resort in case if the is no another option;
Enlarge bounding boxes by Precision::PConfusion() in order to not to miss possible intersections;
Return NoIntersection in case of end point touch and isConsiderEndPointTouch flag is not set.
2015-07-15 14:57:36 +03:00
emv
7a38094a2b Corrections in splitting faces and making shells functions. 2015-07-10 12:52:58 +03:00
emv
2102c85e9f 3D Offset algorithm extension for the cases with the shapes having the faces connected only by the VERTEX. 2015-07-07 14:18:28 +03:00
ibs
81234cf250 [Storage_IStream] a misprint removed 2015-07-03 17:27:25 +03:00
stv
f00abcb359 Fix for problem with using nonseekable streams (ex boost filtering_streams with zip compressor/decompressor). 2015-07-02 10:29:44 +03:00
stv
f18171c815 Allow to use one stream object for several documents. 2015-07-01 14:03:50 +03:00
emv
c4362927dc Fix for correct shells splitting when building solids. 2015-06-30 12:22:42 +03:00
msv
eafe0b9090 Additional fix to improve robustness. 2015-06-24 09:59:40 +03:00
msv
4cf1941672 Fix the problem when merged edges have different location. 2015-06-23 18:15:27 +03:00
isn
c0f0527a1f CR26219_2
ShapeUpgrade_UnifySameDomain fails with StdFail_NotDone exception
2015-06-19 17:21:35 +03:00
emv
ee5d676aee Treatment of the shells with free edges has been changed to keep the faces with internal edges. 2015-06-17 11:32:02 +03:00
stv
86e64f0b10 Fix for XDE Draw building. 2015-06-11 15:01:40 +03:00
stv
b4c600a218 Fixes for partial compilation errors. 2015-06-08 14:50:58 +03:00
stv
acd10a61cd Added overloaded methods SaveAs() with 3rd parameter status message string. 2015-06-05 14:33:05 +03:00
stv
b8f81da0b4 Fixes for compilation errors with type cast. 2015-06-04 11:37:52 +03:00
emv
999dacb4d0 0025926: 3D offset in mode "Complete" with Join type "Intersection"
3D offset algorithm extension for degenerate (colliding) cases.
2015-06-04 10:53:22 +03:00
stv
8cc9532bbd A reference to a non-existent package MPrsStd has been removed from TKPCAF 2015-06-04 10:22:43 +03:00
stv
2de43bdee6 Remove compilation warnings. 2015-06-03 17:43:55 +03:00
azn
869af79658 TKCAF has been separated on two parts:
- The sources which independent from visualization are remained in this TK.
- Visualisation dependencies are moved to the new TK: TKVCAF.
- Some dependencies which are connected with persistent objects (from other TK) have been corrected.
2015-06-03 17:08:44 +03:00
stv
f6eba5f482 Fixes for compilation type conversion errors on Linux. 2015-06-03 17:08:32 +03:00
stv
f5c5b0408f * 0026229: Add the possibility in OCAF to open/save a document from/to a stream object.
Conflicts:
	src/FSD/FSD_CmpFile.cxx
	src/TDocStd/TDocStd_Application.cxx
2015-06-03 14:52:33 +03:00
pkv
1ed0e5502e 0026224: Wrong result obtained by Common operator.
I. New features:
No new features.

II. Changes:
II.1. class BOPTools_AlgoTools2D
 - method:
Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve
(const TopoDS_Edge& aE2,
const TopoDS_Edge& aE1,
const TopoDS_Face& aF,
const Handle(IntTools_Context)& aCtx)
has been changed.
The treatment of the curves that need to be reversed has been modified
taking into account reversed parameter

III. Modified entities:
packages:
BOPTools
V6_9_0p1
2015-05-18 11:45:36 +03:00
emv
a5416a8c8c 0026218: Wrong result done by General Fuse algorithm
class BOPAlgo_PaveFiller
1. method
  void BOPAlgo_PaveFiller::MakeBlocks()
 Update of FaceInfo IN information before filling the maps.

2. methods
  void BOPAlgo_PaveFiller::UpdateFaceInfo
    (BOPDS_DataMapOfPaveBlockListOfPaveBlock& theDME,
     const BOPCol_DataMapOfIntegerInteger& theDMV)

  void BOPAlgo_PaveFiller::ProcessExistingPaveBlocks
    (const Standard_Integer theInt,
     const BOPDS_IndexedMapOfPaveBlock& aMPBOnIn,
     const BOPCol_DataMapOfIntegerListOfInteger& aDMBV,
     BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks& aMSCPB,
     BOPCol_DataMapOfShapeInteger& aMVI,
     BOPDS_MapOfPaveBlock& aMPB)

  Small changes in treatment of existing pave blocks when making new ones from intersection curves.
2015-05-18 11:40:53 +03:00
ski
b3b55601fb 0025490: Error appears trying to start QT OCCT sample
Separate msvc.bat files were created for each qt sample to avoid errors.
V6_9_0
2015-05-08 14:09:54 +03:00
vpa
2cf5ec3f1c 0026139: AIS_InteractiveContext::Display performance regression
Regression with VIS tests in release mode was fixed
2015-05-08 13:50:15 +03:00
apn
2124e769d1 0026194: Sometimes "testgrid" command runs every test many times
Added check for equal test directories in variable CSF_TestScriptsPath.
2015-05-08 10:15:18 +03:00
bugmaster
b767425413 Incrementation of OCCT version up to 6.9.0 2015-05-08 08:56:49 +03:00
vpa
ec81011f5b 0026139: AIS_InteractiveContext::Display performance regression
NCollection_Sequence in SelectMgr_SensitiveEntitySet was replaced by indexed data map
2015-05-08 08:56:33 +03:00
dbp
d4aaad5b82 0026029: Visualization - Poor performance of connected objects
Fix performance issue with SelectMgr_SelectableObjectSet.
2015-05-08 08:54:30 +03:00
apn
9319499b57 Update of unstable Boolean test cases 2015-05-08 08:54:29 +03:00
abv
bf3977c9f9 0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing selections [only with TBB]
Remove classes Select3D_ISensitivePointSet and Select3D_BoundarySensitivePointSet; use Select3D_SensitivePoly directly for boundary selection.
Make last argument in Select3D_SensitiveFace non-default to ensure that value is always explicitly specified by the caller.
Inherit SelectMgr_FrustumBuilder from Standard_Transient to use normal Handle instead of NCollection_Handle.

Add test case bugs/vis/bug26146.
2015-05-08 08:54:28 +03:00
vpa
2157d6ac63 0026147: Visualization - restore the ability to pick only fully included objects in rectangular selection
2 modes of rectangular selection are available: inclusion-only and overlap-allowing;
The modes can be switched using method AllowOverlapDetection from StdSelect_ViewerSelector3d;
BVH for sensitive entities now builds if there is more than max number of leafs in collection;
Added option -allowoverlap to command vselect;
Interactive rectangular selection in Draw is now available in 2 modes:
- if the user starts selection from upper corners, only fully included objects will be selected;
- if the user starts selection from lower corners, both partially and fully overlapped objects will be selected.
2015-05-08 08:54:08 +03:00
apl
35c4a17c46 0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll() of Graphic3d_Camera is not enough
Partial fix: increased epsilon to value reported in #0025670
2015-05-08 08:52:16 +03:00
apn
30a7308729 0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and Linux platform
Deleted variable "res" which appears during loading draw
2015-05-08 08:51:49 +03:00
vpa
28ee613b27 0026159: Visualization - revise tolerance implementation for selection
Max tolerance is now applied to all objects and entities by default;
if there is an entity with a lower tolerance, selecting frustum will be recalculated for it.
The ability to set sensitivity for each entity individually is moved to protected section of SelectBasics_SensitiveEntity
SetPixelTolerance from AIS_InteractiveContext now sets custom tolerance that is applied to all sensitives.
Added -unset option to vselprecision command to disable custom tolerances.
Test case for issue #26159
2015-05-08 08:51:48 +03:00
kgv
fe3a29bc9a 0026165: Visualization, TKOpenGl - fix FBO blitting on some mobile devices
OpenGl_Texture::Init() - initialize FBO textures with GL_TEXTURE_WRAP_ set to GL_CLAMP_TO_EDGE,
since some devices do not support GL_REPEAT (which is default) in such combination.
OpenGl_Font::createTexture() - define texture parameters explicitly.

OpenGl_FrameBuffer::Init() create Depth render buffer object instead of texture
on devices which do not support GL_DEPTH24_STENCIL8.
2015-05-08 08:51:47 +03:00
mkv
2ff806d1ab 0025271: Wrong result obtained by solid classifier algorithm
Shape name was corrected
2015-05-08 08:51:46 +03:00
ski
edbca3bf00 0025825: Draw Harness, XSDRAWSTLVRML - drop command tovrml and XSDRAWSTLVRML_ToVRML
Command tovrml was eliminated.
2015-05-08 08:51:45 +03:00
apl
c070aa3915 0026172: Visualization, AIS_LocalContext - locally selected object should not stay in the viewer after deactivation in the local context
Fix for AIS_LocalContext::ClearOutdatedSelection()
Added test case bugs/vis/bug26172
2015-05-08 08:51:44 +03:00
nbv
9d32c463ad 0025890: Intersection algorithm produces curves overlaped
1. Function IntImp_Int2S::ChangePoint() has been added (see cdl for detail information).
2. Attempt to forbidden break WLine if it goes along surface boundary.

Code optimization.

2nd optimization

Test case for issue CR25890
2015-05-08 08:51:43 +03:00
mkv
4946f2d8ef 0025737: GCPnts_TangentialDeflection does not produce points to approximate a knee 2015-05-08 08:51:42 +03:00
abv
0bbdddae85 0026182: Calling ShapeFix_FixSmallFace.RemoveSmallFaces() always leads to stack overflow
Unused methods RemoveSmallFaces() and SplitFaces() are removed.
2015-05-08 08:51:41 +03:00
kgv
a7f510bfae 0026177: Coding rules - eliminate -Wdeprecated-register CLang warnings 2015-05-06 17:25:24 +03:00
kgv
11bf7051d9 0026167: Coding rules - eliminate -Wlogical-not-parentheses CLang warnings in GeomToStep 2015-05-06 17:22:49 +03:00
apl
0df8756310 0026155: TNaming, CurrentShape: order of shapes in Modification compound is unpredictable
CurrentShape(): replace TopTools_MapOfShapes with TopTools_IndexedMapOfShape
Added case: tests/bugs/caf/bug26155
2015-05-06 17:20:22 +03:00
msv
ff0a70a157 0026148: BRep_Tool::IsClosed failed to judge a closed edge on Poly_Triangulation.
The method signature has been changed by adding an argument TopLoc_Location.
2015-05-06 17:14:45 +03:00