occt.git
7 years ago0021306: Visualization, AIS_InteractiveContext - revise DisplayedModes() semantics
isk [Tue, 2 Aug 2016 11:46:13 +0000 (14:46 +0300)]
0021306: Visualization, AIS_InteractiveContext - revise DisplayedModes() semantics
Remove the AIS_InteractiveContext::DisplayedModes() method.
Remove list of active display modes from AIS_GlobalStatus.

7 years ago0027719: HLRBrep_Algo incorrect output
jgv [Tue, 2 Aug 2016 15:37:18 +0000 (18:37 +0300)]
0027719: HLRBrep_Algo incorrect output

Intersection of curves and surfaces in HLRBRep is corrected: parametric limits of face are used instead of parametric limits of surface

Building of outlines (Contap_Contour) is corrected: method ComputeCloseLine is now used in all cases.

Correction of HLRBRep_Surface: usage of UVbounds-option

Correction of test cases according to the new behavior.

7 years ago0027573: AIS_ColorScale::FindColor does not take into account custom colors
aba [Tue, 2 Aug 2016 11:48:45 +0000 (14:48 +0300)]
0027573: AIS_ColorScale::FindColor does not take into account custom colors

Modified AIS_ColorScale::FindColor (Standard_Real, Quantity_Color&) to take into account custom colors

7 years ago0027749: Configuration - drop remaining occurences of GLU dependency
kgv [Wed, 3 Aug 2016 09:53:30 +0000 (12:53 +0300)]
0027749: Configuration - drop remaining occurences of GLU dependency

7 years ago0027746: Incomplete result of SECTION operation
emv [Wed, 3 Aug 2016 08:04:46 +0000 (11:04 +0300)]
0027746: Incomplete result of SECTION operation

Test cases for the issue.

7 years ago0027665: BrepExrtrema_DistShapeShape bad performance on OCCT 6.7.0
nbv [Fri, 22 Jul 2016 08:33:47 +0000 (11:33 +0300)]
0027665: BrepExrtrema_DistShapeShape bad performance on OCCT 6.7.0

Creation of test case for issue #27665.

7 years ago0027724: Visualization, TKV3d - Null handle check missing in AIS_InteractiveContext...
mgn [Tue, 2 Aug 2016 07:13:49 +0000 (10:13 +0300)]
0027724: Visualization, TKV3d - Null handle check missing in AIS_InteractiveContext::SelectedShape()
Null handle check has been added.

7 years ago0025448: Coding - remove useless header Quantity_Color_1.hxx
abv [Tue, 2 Aug 2016 15:11:41 +0000 (18:11 +0300)]
0025448: Coding - remove useless header Quantity_Color_1.hxx

Useless header file Quantity_Color_1.hxx is deleted, its content moved to Quantity_Color.cxx
The meaning of special Hue value -1.0 has been added to Quantity_Color methods description.

7 years ago0027680: Visualization - AIS_InteractiveContext::Remove() should remove all presentat...
isk [Mon, 1 Aug 2016 12:30:40 +0000 (15:30 +0300)]
0027680: Visualization - AIS_InteractiveContext::Remove() should remove all presentation of the object

7 years ago0027700: Visualization - glPolygonMode() used for frame drawing affects label text...
apl [Mon, 1 Aug 2016 19:09:20 +0000 (22:09 +0300)]
0027700: Visualization - glPolygonMode() used for frame drawing affects label text shading

Patch extends GL-state caching mechanism of OpenGl_Context by new methods.
The methods allow setting/inquiring polygon rasterization and hatching modes:
- OpenGl_Context::SetPolygonMode
- OpenGl_Context::SetPolygonHatchEnabled
- OpenGl_Context::SetPolygonHatchStyle

With these methods OpenGl_Text is able to configure shading as necessary.
And this configuration is done irrespectively of currently defined face aspect.
Code of OpenGl_Workspace is also modified to use these methods as well.

Porting notes:
- OpenGl_LineAttributes now require OpenGl_Context instance for calling GL API.
- OpenGl_LineAttributes has new flag IsEnabled, it turns on/off hatching without changing the hatch type.
  By default this flag is turned on and can be never modified for compatibility with old code.
- OpenGl_LineAttributes is not anymore a field of OpenGl_Workspace::myLineAttrib.
  This resource is directly created by an OpenGl_Context instance on demand.
  If you use custom implementation of hatch patterns please create and share custom resource
  under resource-key "OpenGl_LineAttributes" in corresponding OpenGl_Context before using
  methods SetPolygonHatchEnabled, SetPolygonHatchStyle.

7 years ago0027731: Visualization, OpenGl_AspectMarker - handle fractional marker Scale when...
kgv [Mon, 1 Aug 2016 14:15:52 +0000 (17:15 +0300)]
0027731: Visualization, OpenGl_AspectMarker - handle fractional marker Scale when sharing resources

OpenGl_AspectMarker::Resources::SpriteKeys() now encodes decimal number of marker scale into resource key,
since built-in markers are defined with 0.5 scale step.

7 years ago0027717: Visualization - drop broken Prs3d_Drawer::ShadingAspectGlobal() flag
san [Mon, 1 Aug 2016 15:10:55 +0000 (18:10 +0300)]
0027717: Visualization - drop broken Prs3d_Drawer::ShadingAspectGlobal() flag

7 years ago0027583: Visualization, MeshVS - handle MeshVS_DA_SupressBackFaces flag within MeshVS...
kgv [Sat, 30 Jul 2016 14:05:32 +0000 (17:05 +0300)]
0027583: Visualization, MeshVS - handle MeshVS_DA_SupressBackFaces flag within MeshVS_NodalColorPrsBuilder

and within MeshVS_ElementalColorPrsBuilder builders.

7 years ago0027360: Visualization - remove obsolete anti-aliasing API
kgv [Sat, 30 Jul 2016 14:54:29 +0000 (17:54 +0300)]
0027360: Visualization - remove obsolete anti-aliasing API

The methods V3d_View::SetAntialiasingOn(), ::SetAntialiasingOff()
and Antialiasing() have been removed.

7 years ago0027543: Samples - flickering when view is resized in MFC samples
kgv [Sat, 30 Jul 2016 16:07:34 +0000 (19:07 +0300)]
0027543: Samples - flickering when view is resized in MFC samples

Define proper window class for OpenGL window within
overridden method CView::PreCreateWindow().

7 years ago0027728: Visualization, OpenGl_Text - handle correctly object local transformation
kgv [Sat, 30 Jul 2016 12:06:23 +0000 (15:06 +0300)]
0027728: Visualization, OpenGl_Text - handle correctly object local transformation

OpenGl_Context::ApplyWorldViewMatrix() - reset ModelWorld matrix to identity for consistency with FFP.

7 years ago0027721: Add possibility to read STEP file with invalid shape_representation entity.
ika [Thu, 28 Jul 2016 13:13:25 +0000 (16:13 +0300)]
0027721: Add possibility to read STEP file with invalid shape_representation entity.

Add special parameter, which allow reading of all top level (not shared by any other entities) solids (manifold_solid_brep) and shells (shell_based_surface_model).

The examples how to use a new parameter:

DRAW:
switch on a parameter:
    param read.step.all.shapes On
update model to apply new parameter value:
    newmodel
read as usual:
    stepread test.stp res * // each top level solid or shell will be read as res_i shape.
    or
    ReadStep Doc test.stp

CXX Code:
switch on a parameter:
    Interface_Static::SetIVal("read.step.all.shapes", 1);
read as usual

7 years ago0027727: Visualization, Graphic3d_ArrayOfPrimitives::SetVertexColor() - define opaque...
kgv [Fri, 29 Jul 2016 09:45:41 +0000 (12:45 +0300)]
0027727: Visualization, Graphic3d_ArrayOfPrimitives::SetVertexColor() - define opaque color for RGB input

7 years ago0027718: Class GeomPlate_CurveConstraint contains two same constructors
nbv [Wed, 27 Jul 2016 16:12:28 +0000 (19:12 +0300)]
0027718: Class GeomPlate_CurveConstraint contains two same constructors

Two constructors have been combined to one.

7 years agoUpdate test cases after integration issue 27707
bugmaster [Fri, 29 Jul 2016 08:57:45 +0000 (11:57 +0300)]
Update test cases after integration issue 27707

7 years agoElimination of compiler warning on VC++ 2015 after integration 27448
bugmaster [Fri, 29 Jul 2016 08:39:08 +0000 (11:39 +0300)]
Elimination of compiler warning on VC++ 2015 after integration 27448

7 years ago0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
kgv [Tue, 26 Jul 2016 19:08:39 +0000 (22:08 +0300)]
0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default

OpenGl_Caps - flag ffpEnable is now initialized to false on desktop OpenGL.
OpenGl_Context::init() - now prints error if OpenGL version does not support GLSL
and switches OpenGl_Caps::ffpEnable to true.

update test cases

7 years ago0027704: Numeric inaccuracy due to huge extension of the offset faces
emv [Fri, 22 Jul 2016 08:53:07 +0000 (11:53 +0300)]
0027704: Numeric inaccuracy due to huge extension of the offset faces

The max extension value of the faces in offset operation has been decreased
to 1.e+7 value to avoid the lack of precision in the calculations.

Update of test cases according to the new behavior

7 years ago0027706: Foundation Classes - OSD_Path::DownTrek() crashes on empty argument
ibs [Fri, 22 Jul 2016 13:02:30 +0000 (16:02 +0300)]
0027706: Foundation Classes - OSD_Path::DownTrek() crashes on empty argument

a required check added

7 years ago0027552: Wire creation fails depending on the order of edges
isn [Mon, 20 Jun 2016 12:58:05 +0000 (15:58 +0300)]
0027552: Wire creation fails depending on the order of edges

1) BRepBuilderAPI_MakeWire::Add (const TopTools_ListOfShape &L) method have been completely rewritten. The order of edges is not significant now.
2) The geometric proximity of free vertices from already existing wire and from input list of edges are also have been taken into account. If such vertices are coincident with each other then they are fused into the one. The original wire remains untouched topologically (yet the tolerances and points can be modified).
3) UBTreeFiller is used to speed up the process of picking of coincident vertices.
4) BRepLib now contains the 'new' method - BoundingVertex(..). The implemenation of this method are taken from BOPTools_AlgoTools::MakeVertex(..).
5) The '-unsorted' argument have been added to 'wire' command.

Conflicts:
src/QABugs/QABugs_20.cxx

Add missing include.

Eliminate warning.

7 years ago0027448: BOPTools_AlgoTools::IsMicroEdge does not correspond to shape validity criteria
emv [Wed, 4 May 2016 13:42:55 +0000 (16:42 +0300)]
0027448: BOPTools_AlgoTools::IsMicroEdge does not correspond to shape validity criteria

1. IntTools_ShrunkRange::Perform
The algorithm of building shrunk range on the edge has been redesigned to make this range as big as possible.
By new definition it has to have the length not less than Precision::Confusion().
Although, the possibility of splitting of the edge has been taken into account. If it is impossible to put
vertex on edge in such a way that the tolerance spheres of the edge's vertices do not intersect the tolerance
sphere of the putting vertex the edge cannot be split. This possibility is saved in the new field
IntTools_ShrunkRange::myIsSplittable. It can be checked by the corresponding method IntTools_ShrunkRange::IsSplittable().
It returns TRUE if the shrunk range is computed successfully and it has the length more than the value of sum of two tolerance
values of the edge (for putting vertex, as its tolerance should not be less than the tolerance value of edge) and
two Precision::Confusion() values (to make two new edges valid by Shape validity criteria).

IntTools_ShrunkRange::myErrorStatus and IntTools_ShrunkRange::ErrorStatus() have been replaced by
the IntTools_ShrunkRange::myIsDone and IntTools_ShrunkRange::IsDone(). IntTools_ShrunkRange::IsDone() returns TRUE
if the shrunk range has been computed and it has length more than Precision::Confusion().

All computations of the parameters are performed using the GCPnts_AbscissaPoint, but if AbscissaPoint is unable to
compute the parameters the Resolution of the curve is used.

2. Boolean Operations algorithm now partially works with the edges that cannot be split or does not have the ShrunkData
at all (previously such edges have been considered as micro and just ignored). If by the result of some intersection such
edges should be split, i.e. the intersection vertex should be created, the algorithm just ignores them and no vertex is created.
But if such edges coincide with other shapes (other edges or faces) the algorithm uses them for creation of common blocks.
The information of the possibility for the edges to be split is saved in its PaveBlocks, in the new BOPDS_PaveBlock::myIsSplittable field.
It can be retrieved by the BOPDS_PaveBlock::IsSplittable() or BOPDS_PaveBlock::ShrunkData(), but these methods
make sense only after filling of the shrunk data for the pave block.

BOPTools_AlgoTools::IsMicroEdge() has an additional parameter that defines whether it is necessary to take into account
the possibility for the edge to be split or not. By default it is set to TRUE, i.e. by default the edge will be considered as micro
even if the shrunk range is computed, but it is too short for the edge to be split.

3. BOPAlgo_PaveFiller::PerformEF
To avoid creation of too close intersection vertices the intersection ranges of the edges participating in Edge/Face
intersections are reduced taking into account the common ranges computed during Edge/Edge intersections.
Thus, the Edge/Face intersection vertex is not created if it gets into a common range of the Edge/Edge intersection
between that edge and one of the face's edges. The tolerance value of Edge/Edge intersection vertex is increased
to reach the Edge/Face intersection.

4. Unification of the vertices of the section edges considered as micro edges.
If by the result of some Face/Face intersection the section edge is considered as micro edge,
the vertices of this edge will be united and the edge itself will be removed.

5. Test cases for the issues.

6. Adjusting test cases for issue CR27448.

7 years ago0027703: BinTools_ShapeSet stream read bug
msv [Fri, 22 Jul 2016 09:07:24 +0000 (12:07 +0300)]
0027703: BinTools_ShapeSet stream read bug

Avoid out of array bounds read/write.

7 years ago0026270: GeomFill_NSections constructor crash
ema [Fri, 8 Jul 2016 11:01:12 +0000 (14:01 +0300)]
0026270: GeomFill_NSections constructor crash

Correction of code to avoid of usage of undefined associated parameters in order not to get exception in constructor.
Creation of test case for this issue

7 years ago0027684: Coding rules - drop unused declarations from Graphic3d
kgv [Sat, 16 Jul 2016 12:57:23 +0000 (15:57 +0300)]
0027684: Coding rules - drop unused declarations from Graphic3d

The following headers have been removed:
- Graphic3d_TypeOfPolygon
- Graphic3d_TypeOfPrimitive
- Graphic3d_Array1OfVector.hxx
- Graphic3d_Array1OfVertex.hxx
- Graphic3d_Array2OfVertex.hxx
- Graphic3d_CBitFields4.hxx
- Graphic3d_CBitFields8.hxx
- Graphic3d_CBitFields16.hxx
- Graphic3d_CBitFields20.hxx
- Graphic3d_CStructurePtr.hxx
- Graphic3d_CycleError.hxx
- Graphic3d_DataStructure.pxx
- Graphic3d_HSequenceOfStructure.hxx
- Graphic3d_InitialisationError.hxx
- Graphic3d_ListIteratorOfListOfShortReal.hxx
- Graphic3d_ListOfShortReal.hxx
- Graphic3d_NListOfHAsciiString.hxx
- Graphic3d_StructureManagerPtr.hxx
- Graphic3d_StructurePtr.hxx

Graphic3d_StructureManager - remove default aspects, which have been never used.

do not include non-existing header Graphic3d_Array1OfVertex.hxx from MFC sample

Graphic3d_Group::MinMaxValues() - add missing Standard_EXPORT

7 years ago0024056: error LNK2019: unresolved external symbol
isn [Fri, 15 Jul 2016 15:37:53 +0000 (18:37 +0300)]
0024056: error LNK2019: unresolved external symbol

Clean out the TopOpeBRep* classes

Remove unused private fields.

7 years ago0027682: Visualization - provide method Prs3d_Drawer::SetShaderProgram() for setting...
kgv [Sun, 17 Jul 2016 13:53:43 +0000 (16:53 +0300)]
0027682: Visualization - provide method Prs3d_Drawer::SetShaderProgram() for setting program

AIS_ColoredDrawer has been moved to dedicated file.
AIS_ColoredShape::CustomAspectsMap() - added public method for accessing aspects map.

AIS_InteractiveObject::SynchronizeAspects() - added method for synchronizing
all primitive aspects at low-level (TKOpenGl) after their modification.

7 years ago0027679: Wrong offset: overlapping edges
ifv [Fri, 15 Jul 2016 07:42:09 +0000 (10:42 +0300)]
0027679: Wrong offset: overlapping edges

Method BRepFill_OffsetWire::UpdateDetromp(...) is modified for correct treatment of closed bisectors.

Test case for issue #27679

7 years ago0027199: Unifysamedomain regression issue in OCCT 7
isn [Thu, 14 Jul 2016 14:39:03 +0000 (17:39 +0300)]
0027199: Unifysamedomain regression issue in OCCT 7

Allow to process the compounds in UnifySameDomain algorithm. Earlier only faces from shells were allowed to be unified.

Test case for issue #27199

7 years ago0027677: Incorrect CUT of a solid by semi-infinite solid
azv [Mon, 18 Jul 2016 06:33:53 +0000 (09:33 +0300)]
0027677: Incorrect CUT of a solid by semi-infinite solid

The problem of incorrect CUT is wrong Pcurve after projection onto cylinder of a small edge orthogonal to cylinder's axis. The result of projection is a line along V direction, but it should be along U.

ProjLib_Cylinder has no specific functionality to build projection in most common case, so it should return "not done" flag to start projection based on curve approximation.

Following changes are done:
1. ProjLib_Cylinder returns isDone=false in the following cases:
  * the projected line is not parallel to cylinder's axis
  * the plane of projected circle is not orthogonal to cylinder's axis
2. Test case added

Minor correction of test case

7 years ago0027675: Foundation Classes - handle Unicode path to CSF_UnitsLexicon and CSF_UnitsDe...
kgv [Wed, 13 Jul 2016 19:47:16 +0000 (22:47 +0300)]
0027675: Foundation Classes - handle Unicode path to CSF_UnitsLexicon and CSF_UnitsDefinition on Windows

Units package now uses Unicode-aware functions OSD_OpenStream
and OSD_FileStatCTime (introduced for fetching file timestamp).

7 years ago0027264: Weird difference between two BRepTools::Write() overloads
isn [Mon, 11 Jul 2016 09:52:59 +0000 (12:52 +0300)]
0027264: Weird difference between two BRepTools::Write() overloads

Assume that the brep file contains DBRep_DrawableShape variable if the file header is absent

test cases

7 years agoRemove overloaded method Graphic3d_AspectFillArea3d::SetTextureMap(bool)
kgv [Thu, 14 Jul 2016 11:55:42 +0000 (14:55 +0300)]
Remove overloaded method Graphic3d_AspectFillArea3d::SetTextureMap(bool)

7 years ago0027670: Visualization - avoid duplication of structures defining primitive array...
kgv [Wed, 13 Jul 2016 16:36:20 +0000 (19:36 +0300)]
0027670: Visualization - avoid duplication of structures defining primitive array presentation aspects

Quantity_ColorRGBA has been introduced as convenient structure holding Vec4 for OpenGL.
Graphic3d_PolygonOffset has been added as replacement for TEL_POFFSET_PARAM.

Duplicating definition of Hatch Styles TEL_HS_*** has been removed;
Aspect_HatchStyle enum now follows values of TEL_HS_*** for compatibility.
TelCullMode enum has been removed.

Aspect_AspectLine has been merged into Graphic3d_AspectLine3d.
Aspect_AspectMarker has been merged into Graphic3d_AspectMarker3d.
Aspect_AspectFillArea has been merged into Graphic3d_AspectFillArea3d.
Graphic3d_CAspectFillArea have been removed.

OpenGl_AspectLine now stores Graphic3d_AspectLine3d as class field.
OpenGl_AspectMarker now stores Graphic3d_AspectMarker3d as class field.
OpenGl_AspectText now stores Graphic3d_AspectText3d as class field.
OpenGl_AspectFace now stores Graphic3d_AspectFillArea3d as class field.

Graphic3d_AspectFillArea3d - back face culling is now enabled by default.
TKOpenGl now relies on Graphic3d_Group::IsClosed() flag to disable face culling.
StdPrs_ShadedShape now does not modify aspect for different culling modes.

Headers InterfaceGraphic_Graphic3d.hxx, InterfaceGraphic_telem.hxx, InterfaceGraphic_tgl_all.hxx
defining obsolete structures CALL_DEF_COLOR, CALL_DEF_POINT,
CALL_DEF_MATERIAL, CALL_DEF_TRANSFORM_PERSISTENCE, TEL_POINT, TEL_COLOUR
have been removed.

Useless and broken test case bugs/vis/buc60821 has been removed.

OpenGl_Workspace::myAspectFaceApplied and myAspectMarkerApplied have been replaced
from OpenGl_AspectFace*/OpenGl_AspectMarker*
to Handle(Graphic3d_AspectFillArea3d)/Handle(Graphic3d_AspectMarker3d).
This eliminates reading from freed memory
(e.g. when OpenGl_AspectFace is allocated on stack like in OpenGl_Trihedron).

OpenGl_PrimitiveArray::drawEdges() - fix drawing non-indexed array from VBO (access violation due to NULL handle).

AIS_Dimension::DrawArrow() - added missing initialization of 3D arrow aspect.
AIS_Manipulator::Compute() now creates dedicated Face Aspect for each axis.
V3d_CircularGrid, V3d_RectangularGrid now create dedicated line aspects with different color.
AIS_InteractiveObject::SetMaterial() - do not modify global ShadingAspect.

7 years ago0027638: Optimisation of testdiff command
apn [Wed, 13 Jul 2016 15:18:50 +0000 (18:18 +0300)]
0027638: Optimisation of testdiff command

Added functionality to compare image, memory and CPU differences separately.

7 years ago0027525: Coding - eliminate warnings on Windows for OCCT with static type of libraries
ski [Wed, 29 Jun 2016 07:46:05 +0000 (10:46 +0300)]
0027525: Coding - eliminate warnings on Windows for OCCT with static type of libraries

Useless *.cxx files were removed to eliminate linker warning LNK4221.

Package TopOpeBRepDS was cleaned up from old debugging routines.

Merged OSD_signal_WNT.cxx into OSD_signal.cxx

Class Standard_ErrorHandlerCallback was moved into the Standard_ErrorHandler class as nested class Callback

Eliminated warning about unused variable.

7 years ago0027632: Visualization, XCAFPrs_AISObject - provide method for assigning new Label...
kgv [Sat, 9 Jul 2016 13:57:04 +0000 (16:57 +0300)]
0027632: Visualization, XCAFPrs_AISObject - provide method for assigning new Label in the document

7 years ago0025576: Visualization - implement AIS_ConnectedInteractive::AcceptDisplayMode()
kgv [Sat, 9 Jul 2016 15:25:46 +0000 (18:25 +0300)]
0025576: Visualization - implement AIS_ConnectedInteractive::AcceptDisplayMode()

by redirecting to myReference->AcceptDisplayMode().

7 years ago0027664: Incomplete intersection curve from the attached shapes
nbv [Wed, 6 Jul 2016 13:42:19 +0000 (16:42 +0300)]
0027664: Incomplete intersection curve from the attached shapes

Computation of correct offset values in order to make correspondence (with adjusting to periods) between Domain of WLine and surface domain.

Creation of test cases for this issue.

Small correction in the test case.

7 years ago0027671: Basic IVtk tools do not allow easy sub-classing
ssv [Mon, 11 Jul 2016 08:30:09 +0000 (11:30 +0300)]
0027671: Basic IVtk tools do not allow easy sub-classing

Add missing Standard_EXPORT, change private with protected in shape data source.

7 years ago0027668: Visualization, TKD3DHost - fix accessing function list within Core Profile
kgv [Fri, 8 Jul 2016 10:05:26 +0000 (13:05 +0300)]
0027668: Visualization, TKD3DHost - fix accessing function list within Core Profile

7 years ago0027127: Implementation of compilation of OCCT Products samples on all platforms...
bugmaster [Tue, 12 Jul 2016 12:44:10 +0000 (15:44 +0300)]
0027127: Implementation of compilation of OCCT Products samples on all platforms under support in Jenkins test system.
Removing old VC environment

7 years ago0027362: Meshing performance
msv [Sat, 9 Jul 2016 09:18:34 +0000 (12:18 +0300)]
0027362: Meshing performance
Remove warning on VS2015

7 years ago0027633: Visualization, TKOpenGl - point sprites are inconsistent within Core and...
kgv [Fri, 24 Jun 2016 08:36:57 +0000 (11:36 +0300)]
0027633: Visualization, TKOpenGl - point sprites are inconsistent within Core and Compatible Profiles

OpenGl_ShaderManager::pointSpriteAlphaSrc() now does not return alpha from Red channel
for RGBA marker texture in Core profile.
OpenGl_ShaderManager::prepareStdProgramFlat() - restored code for drawing points without texture.

Built-in GLSL programs now flip .y in shaders instead of
relying on GL_POINT_SPRITE_COORD_ORIGIN unavailable on OpenGL ES.

Added sample markers.tcl (moved from test cases).
Sample now includes marker_kr.png for testing marker orientation.

7 years ago0026641: Visualization, TKOpenGl - handle correctly transformation persistence within...
isk [Tue, 5 Jul 2016 10:32:52 +0000 (13:32 +0300)]
0026641: Visualization, TKOpenGl - handle correctly transformation persistence within perspective projection.
Add a new method AIS_InteractiveContext::SetTransformPersistence, which sets transform persistence to object and selection.
Add a new method SelectMgr_SelectionManager::UpdateSelection, which re-adds selectable object in BVHs in all viewer selectors.
Add a new method SelectMgr_ViewerSelector::MoveSelectableObject, which moves object from set of not transform persistence objects to set of transform persistence objects (or vice versa).
Add a new method Graphic3d_TransformUtils::Convert, which converts gp_Trsf to Graphic3d_Mat4.
Remove the method PrsMgr_PresentableObject::SetTransformPersistence(flag, point).

7 years ago0026372: Meshing of surface of revolution fails in debug mode
apn [Wed, 6 Jul 2016 10:52:46 +0000 (13:52 +0300)]
0026372: Meshing of surface of revolution fails in debug mode

Added test case bugs/mesh/bug26372

7 years ago0027362: Meshing performance
msv [Wed, 4 May 2016 01:12:28 +0000 (04:12 +0300)]
0027362: Meshing performance

1) BRepMesh_FastDiscretFace.cxx:
- exclude planes from procedure of inserting internal points.
- localize declaration of the container aNewVertices in each method where it is needed.
- correct the logic of the method insertInternalVerticesOther, so that to separate the processes of removing extra points and addition of new points in different cycles, thus making the code more clear and in addition stable.
- insert useful output of intermediate mesh to a file in control() method for debug purposes (with definition DEBUG_MESH).

2) Add global functions MeshTest_DrawTriangles and MeshTest_DrawLinks to draw mesh data in debug session.

3) BRepMesh_FastDiscret:
- in the method Add calculations of deflections have been simplified for non-relative mode.
- replace the attribute MinDist with Deflection in EdgeAttributes structure. Correct its computation so that later to store this value as deflection of the polygon.

4) Make protection against exception in the method BRepMesh_Delaun::addTriangle() when an added triangle creates a third connection of a mesh edge.

5) BRepMesh_EdgeTessellator.cxx, BRepMesh_EdgeTessellationExtractor.cxx: use Geom2dAdaptor_Curve in order to use b-spline cache while computing value on a curve.

6) In BndLib_Box2dCurve::PerformBSpline, avoid creating new b-spline in case of requested parameter range differ from natural bounds insignificantly.

7) In GeomAdaptor classes, postpone building of cache till the time of its actual usage. So, creation of an adapter to compute intervals of continuity does not lead to creation of internal cache.

8) In the methods BRepAdaptor_Curve::Bezier and BSpline do not call Transformed() if transformation is identity.

9) In the classes Geom_BSplineCurve, Geom_BSplineSurface, Geom_BezierCurve, Geom_BezierSurface, Geom2d_BSplineCurve, Geom2d_BezierCurve change the method Pole() to return the point by const reference.

10) In CPnts_AbscissaPoint.cxx, compute derivative by D1 instead of DN to make use of b-spline cache.

11) Change test cases to actual state:
  - Number of triangles/nodes can grow due to more accurate work with deflection of edges. Now the edge is tessellated using its own tolerance instead of maximal tolerance of all shapes in the face.
  - Accept new numbers of mesh errors (free links, free nodes) for really bad shapes.
  - Correct the test "bugs/mesh/bug25612" to produce stable result.
  - Disable redundant checks in test cases bug25378* (lower limit for computation time).

- Speed up iso-lines computation for offset of bspline surfaces. For that use adaptor instead of original surface in evaluator of approximation.
- Add output of polylines for debug of insertInternalVerticesOther().

Reference data in test case bugs\moddata_2\bug453_3 have been changed to be close to expected theoretical values. This makes the test give stable result on different platforms.

7 years ago0027621: Highlighting with color remains visible when shape is erased.
isk [Mon, 4 Jul 2016 09:20:47 +0000 (12:20 +0300)]
0027621: Highlighting with color remains visible when shape is erased.

7 years ago0027655: Visualization - AIS_Triangulation disappears after setting non-zero transparency
isk [Thu, 30 Jun 2016 12:25:43 +0000 (15:25 +0300)]
0027655: Visualization - AIS_Triangulation disappears after setting non-zero transparency
Add a new methods in AIS_Triangulation: SetTransparency, UnsetTransparency, HasVertexColor, updatePresentation.
Add a new methods in Graphic3d_ArrayOfPrimitives: AddVertex(gp_Pnt, Graphic3d_Vec4ub) and SetVertexColor(Standard_Integer, Graphic3d_Vec4ub).
Type of color of array in AIS_Triangulation is Graphic3d_Vec4ub now.

7 years ago0027127: Implementation of compilation of OCCT Products samples on all platforms...
bugmaster [Fri, 10 Jun 2016 07:12:22 +0000 (10:12 +0300)]
0027127: Implementation of compilation of OCCT Products samples on all platforms under support in Jenkins test system.

Update mfc samples for current state of OCCT

Removing vc8 and vc9 from environment

Update qt samples for compilation with QT5

Update OCCT qt pro files system

Removing from projects files FWOSPlugin.lib.

7 years ago0027639: Add possibility to build OCCT 7X without TCL/TK
ski [Mon, 27 Jun 2016 11:53:53 +0000 (14:53 +0300)]
0027639: Add possibility to build OCCT 7X without TCL/TK

draw.bat/sh files will not be generated/installed to binary/install directories if DRAWEXE toolkit is excluded from build.

7 years ago0027352: Optimal axis-aligned bounding box for a shape
ifv [Tue, 26 Apr 2016 12:00:29 +0000 (15:00 +0300)]
0027352: Optimal axis-aligned bounding box for a shape

Add method for exact calculation of bounding boxes

Modifications made according to remarks.

Small correction of test case for issue CR27352

Small correction of test cases for issue CR27352

Avoid warning on VS2015

7 years ago0027245: DRAW command to test binary persistence for shapes
msv [Thu, 10 Mar 2016 09:58:44 +0000 (12:58 +0300)]
0027245: DRAW command to test binary persistence for shapes

- Added new static methods Read and Write in BinTools class to store/retrieve a shape in binary format.
- Added new draw commands "binsave" and "binrestore"
- Added test cases to test the new methods.
- Updated documantation with desription of the new BinTools class methods and corresponding BRepTools class methods.

7 years ago0027595: Mesh - faces without triangulations due to gp_VectorWithNullMagnitude exception
oan [Wed, 22 Jun 2016 15:20:15 +0000 (18:20 +0300)]
0027595: Mesh - faces without triangulations due to gp_VectorWithNullMagnitude exception

Zero magnitude check has been added before gp::Vec::Angle() usage

7 years ago0027643: Coding rules - eliminate GCC warning -Wmaybe-uninitialized
kgv [Sun, 26 Jun 2016 17:10:35 +0000 (20:10 +0300)]
0027643: Coding rules - eliminate GCC warning -Wmaybe-uninitialized

7 years ago0027629: Visualization - apply a correct model-world matrix to normals in fixed funct...
isk [Thu, 23 Jun 2016 12:01:34 +0000 (15:01 +0300)]
0027629: Visualization - apply a correct model-world matrix to normals in fixed function pipeline with enabled zoom persistence.

Small correction of test case for issue CR27629

7 years ago0027357: Geom2dGcc_Circ2d2TanOn: check status of sub-algorithms to avoid exceptions
isn [Fri, 17 Jun 2016 11:50:50 +0000 (14:50 +0300)]
0027357: Geom2dGcc_Circ2d2TanOn: check status of sub-algorithms to avoid exceptions

Additional checks for underlying algorithms have been added

test case

get rid of the warning

7 years ago0027401: Configuration, Plugin - allow using statically linked plugins
kgv [Wed, 20 Apr 2016 07:45:32 +0000 (10:45 +0300)]
0027401: Configuration, Plugin - allow using statically linked plugins

CMake script now defines OCCT_NO_PLUGINS for static builds,
so that linking with OCAF plugins does not lead to duplicated symbols.

7 years ago0025812: Replace dynamic loading mechanism of OCAF persistence with dynamic-link one
abv [Mon, 20 Jun 2016 03:53:14 +0000 (06:53 +0300)]
0025812: Replace dynamic loading mechanism of OCAF persistence with dynamic-link one

Fields to store cached instances of reader and writer drivers for each format are added in CDF_Application.
Method DefineFormat() is added in TDocStd_Application, allowing defining format completely by single call, including drivers to be used for persistence.
All OCAF driver packages provide static method DefineFormat() that defines standard OCAF persistence format supported by corresponding package; these methods are called in DRAW to enable all persistence by default.

DRAW commands (except TObj-specific ones) now use single instance of OCAF Application, returned by DDocStd::GetApplication(). Other instances are eliminated, as well as method DDocStd::Find(const Handle(TDocStd_Application)&).
Method MessageDriver() and relevant field are moved to TDocStd_Application from its descendants.

Method CDF_Application::ReaderFromFormat() is made virtual to allow its redefinition in descendants.
Creation of storage driver is moved from PCDM::StorageDriver() to new virtual method CDF_Application::WriterFromFormat().
The code loading driver as plugin is retained in both these methods for compatibility.

Test command OCC24925 is converted to use virtual methods instead of defining plugin resource.

Migration table for old OCAF types is hard-coded in Storage_Schema::CheckTypeMigration().

Removed obsolete and unused items:
- FWOSPlugin library (driver is created directly)
- Methods in classes CDM_Document dealing with unused parameters of format
- DRAW command OCC23010 for testing non-reproducible issue #23010
- Methods PCDM::StorageDriver(), PCDM::FindStorageDriver()
- Method Formats() from CDF_Application and descendants
- Methods LoadExtensions and SchemaName from PCDM_StorageDriver
- Method Plugin::AdditionalPluginMap()
- Method BinLDrivers_DocumentStorageDriver::SchemaName()
- Method CDF_Application::DefaultExtension(), Reader(), FindReader(), FindReaderFromFormat()
- Method CDF_Store::Check()

7 years ago0027610: Some spelling mistakes in documentation of "Building with CMake"
Timo Roth [Wed, 18 May 2016 07:43:10 +0000 (09:43 +0200)]
0027610: Some spelling mistakes in documentation of "Building with CMake"

Spelling corrected in documentation of "Building with CMake"

7 years ago0027590: Visualization, Ray Tracing - port to quad BVH trees (QBVH)
dbp [Mon, 20 Jun 2016 16:43:44 +0000 (19:43 +0300)]
0027590: Visualization, Ray Tracing - port to quad BVH trees (QBVH)

In frames of this issue binary BVH tree produced by building algorithms was collapsed into 4-ary BVH (QBVH).
The BVH traversal code in GLSL was modified to process such trees correctly.
This allows to implore thread coherence, decrease BVH memory consumption (~2 times), and use traversal stack of the half size.
As a result, ray tracing scalability is improved, as well as rendering performance. For various setups, speedup is 12-18%.

7 years ago0027529: Invalid result of CUT operation
aml [Tue, 24 May 2016 07:57:30 +0000 (10:57 +0300)]
0027529: Invalid result of CUT operation

Test case is added.

7 years ago0027617: Visualization, TKOpenGl - apply highlighting color without disabling lighting
kgv [Mon, 20 Jun 2016 06:51:56 +0000 (09:51 +0300)]
0027617: Visualization, TKOpenGl - apply highlighting color without disabling lighting

Update colors in test cases

7 years ago0026885: Visualization - drop redundant aspects from structure level
kgv [Mon, 20 Jun 2016 16:10:51 +0000 (19:10 +0300)]
0026885: Visualization - drop redundant aspects from structure level

Graphic3d_CStructure and OpenGl_Structure do not store structure aspects anymore.
Graphic3d_Structure, Prs3d_Presentation - structure aspect methods have been removed.

AIS_InteractiveObject::SetAspect() - globalChange argument has been removed.

Undocumented test methods V3d::DrawSphere(), ::SetPlane(), ::PickGrid() have been removed.

7 years ago0027622: Data Exchange - STL file having less than 4 triangles cannot be read
kgv [Mon, 20 Jun 2016 14:40:48 +0000 (17:40 +0300)]
0027622: Data Exchange - STL file having less than 4 triangles cannot be read

Drop minimum file size check from RWStl::ReadBinary().

Test case for issue #27622

7 years ago0027624: ViewerTest - vdrawtext command ignores text display options
san [Mon, 20 Jun 2016 16:17:56 +0000 (19:17 +0300)]
0027624: ViewerTest - vdrawtext command ignores text display options

vdrawtext command was corrected to set the specified text display type
regardless of other options.

7 years ago0027532: Errors on reading stp-file
ika [Mon, 6 Jun 2016 08:59:06 +0000 (11:59 +0300)]
0027532: Errors on reading stp-file

The cause of errors is a non alphabetical order of complex entity, which do not affect export.
Move messages to debug mode.
Replace fail by warning.

Correction of test case bugs/vis/bug23153 according to the new behavior

7 years ago0024553: Deleting obsolete/unused ".gxx" files from "GCPnts"
abv [Fri, 17 Jun 2016 08:36:49 +0000 (11:36 +0300)]
0024553: Deleting obsolete/unused ".gxx" files from "GCPnts"

Extension of files GXX is changed to "pxx" to avoid them to be copied to inc folder.
Code of inline functions contained in LXX files is merged to HXX files, LXX files are removed.

7 years ago0026786: Segmentation violation exception raised if a shape to be fixed is null
ika [Thu, 16 Jun 2016 13:06:53 +0000 (16:06 +0300)]
0026786: Segmentation violation exception raised if a shape to be fixed is null

Add check for null shape.

7 years ago0027608: Tests - drop useless performance comparison from perf/fclasses/handle
kgv [Thu, 16 Jun 2016 09:44:18 +0000 (12:44 +0300)]
0027608: Tests - drop useless performance comparison from perf/fclasses/handle

Correction of test case perf/fclasses/handle according to the current behavior

7 years ago0027568: Exception is thrown when a degenerated edge is added to a wire
Timo Roth [Wed, 15 Jun 2016 08:04:44 +0000 (11:04 +0300)]
0027568: Exception is thrown when a degenerated edge is added to a wire

Test cases for issue CR27568

Other methods of BRep_Tool corrected to ensure that output arguments are always initialized

7 years ago0027239: Meshing algorithm creates wrong Triangulation
oan [Wed, 27 Apr 2016 11:10:15 +0000 (14:10 +0300)]
0027239: Meshing algorithm creates wrong Triangulation

Do not insert consequent duplicating nodes in PolygonOnTriangulation.

Small correction of test case bugs/mesh/bug27239

7 years ago0027612: Visualization, AIS_InteractiveContext - handle SelectMgr_EntityOwner::IsForc...
vpa [Thu, 16 Jun 2016 13:30:11 +0000 (16:30 +0300)]
0027612: Visualization, AIS_InteractiveContext - handle SelectMgr_EntityOwner::IsForcedHilight() flag in neutral point

- the check for IsForcedHilight was added to interactive context

7 years ago0027606: Visualization - view is blocking when MSAA has been overridden in graphics...
kgv [Thu, 16 Jun 2016 09:58:05 +0000 (12:58 +0300)]
0027606: Visualization - view is blocking when MSAA has been overridden in graphics driver settings

OpenGl_View::blitBuffers() - try disabling MSAA on glBlitFramebuffer() failure

7 years ago0027566: Configuration - define Handle_ as non-template class for compatibility with...
kgv [Thu, 16 Jun 2016 11:06:53 +0000 (14:06 +0300)]
0027566: Configuration - define Handle_ as non-template class for compatibility with C++/CLI

For MSVC compiler (version 12 and above), Handle_Class types are defined as true classes (inheriting corresponding opencascade::handle<Class>) to allow using them in "public" statement of C++/CLI language, to make these classes recognizable by other C++/CLI libraries.

Code to test operations with Handle_ class is added to QAHandleOps test command

7 years ago0027611: Visualization - provide an interface to access selection frustum center...
vpa [Thu, 16 Jun 2016 11:38:19 +0000 (14:38 +0300)]
0027611: Visualization - provide an interface to access selection frustum center points from SelectBasics level

- getters for rectangular frustum center points were added to SelectBasics_SelectingVolumeManager

7 years ago0027542: Documentation - minor corrections in upgrade guide
ysn [Thu, 16 Jun 2016 15:02:27 +0000 (18:02 +0300)]
0027542: Documentation - minor corrections in upgrade guide

Remarks implemented.
Checked new entries in the document.

7 years ago0027523: Visualization - selection owner contains obsolete shape
vpa [Thu, 9 Jun 2016 16:02:49 +0000 (19:02 +0300)]
0027523: Visualization - selection owner contains obsolete shape

- remove check for selection activation in SelectMgr_SelectionManager::RecomputeSelection;
- given selection mode is now handled properly and single selection mode can be recomputed;
- test case for issue #27523.

Small correction of test case for issue CR27523

7 years ago0027631: license.md duplicated in the current master HEAD V7_0_winwerth
bugmaster [Thu, 23 Jun 2016 14:45:15 +0000 (17:45 +0300)]
0027631: license.md duplicated in the current master HEAD

7 years ago0027108: GCPnt_TangentialDeflection does not respect linear deflection
ifv [Mon, 25 Jan 2016 13:35:17 +0000 (16:35 +0300)]
0027108: GCPnt_TangentialDeflection does not respect linear deflection

Modification of algorithm in order to prevent violation of angular and curvature deflection condition for smooth intervals of curve.
Modification of algorithm for calculation of maximal deflection in command crvtpoints, crvpoints (CR25649)
Elementary bug fixing in algorithm GCPnts_UniformDeflection.gxx
Modification of test cases in order to set new reference parameters of shape triangulations
Some tests:
  bugs modalg_2 bug397
  mesh standard_incmesh C7, V3
  mesh standard_incmesh_parallel C7, V3
  mesh standard_mesh C7, V3
  mesh standard_shading V3
were modified by TODO with reference bug 27226, because some problems in meshing algorithm (package BRepMesh) were discovered when tessellation of edges was changed. These problems cannot be solved by modification of GCPnts_TangentialDeflection algorithm. New issue #27226 was created, see bugtracker for details.

Correction of test data

Test case for issue #27108

Modification of algorithm for improving performance

Correction of test cases

7 years ago0027447: Add support for long IGES entity names
Martin Siggel [Thu, 28 Apr 2016 11:33:57 +0000 (14:33 +0300)]
0027447: Add support for long IGES entity names

Adding support for long IGES names.
The method IGESCAFControl_Writer::WriteNames is now extended
to also write IGES 406 / 15 name entities containing the full label name.

Test case for issue #27447

7 years ago0027601: TKV3d, AIS_RubberBand - polygonal selection mode invokes an exception with...
apl [Wed, 15 Jun 2016 11:05:01 +0000 (14:05 +0300)]
0027601: TKV3d, AIS_RubberBand - polygonal selection mode invokes an exception with convex fill area

Corrected allocation of primitive array for triangles.

7 years ago0027596: Visualization, StdPrs_WFShape - pack isolines into single group of primitives
kgv [Tue, 14 Jun 2016 11:02:27 +0000 (14:02 +0300)]
0027596: Visualization, StdPrs_WFShape - pack isolines into single group of primitives

StdPrs_ShadedShape, computeFaceBoundaries() now does not create additional temporary buffer for edges.
StdPrs_Isolines::AddOnTriangulation() now reconstacts polylines from segments projected onto triangulation.

StdPrs_WFShape::Add() now packs isolines into single group in presentation (instead of per-face group).
Even more - StdPrs_WFShape now groups lines with the same aspects.

Prs3d_Drawer::UIsoAspect(), ::VIsoAspect(), ::VIsoAspect() - default width
has been changed from 0.5 to 1.0.

7 years ago0027591: TKViewerTest, ViewerTest_CmdParser regression - methods ArgVec3f, ArgVec3d...
apl [Fri, 10 Jun 2016 13:35:00 +0000 (16:35 +0300)]
0027591: TKViewerTest, ViewerTest_CmdParser regression - methods ArgVec3f, ArgVec3d return inccorect values

Fix regression in methods ViewerTest_CmdParser::ArgVec3f, ::ArgVec3d, ::ArgVec, ::ArgPnt.

7 years ago0027391: BRepLib::EnsureNormalConsistency() raises exception in case of asynchronious...
isn [Thu, 9 Jun 2016 14:30:26 +0000 (17:30 +0300)]
0027391: BRepLib::EnsureNormalConsistency() raises exception in case of asynchronious PolygonOnTriangulation problem

additional check have been added to BRepLib::EnsureNormalConsistency() func.
Any edges with two adjacent faces will be skipped (while updating of their normals) if the number of discretization points (nodes) will be different for each of this faces on this edge.

test case

7 years ago0027602: gp_TrsfForm.hxx - wrong comment to enum
abv [Tue, 14 Jun 2016 12:05:10 +0000 (15:05 +0300)]
0027602: gp_TrsfForm.hxx - wrong comment to enum

Comment is corrected

7 years ago0027599: Test "demo samples snowflake" does not clear internal data after execution
abv [Tue, 14 Jun 2016 12:09:01 +0000 (15:09 +0300)]
0027599: Test "demo samples snowflake" does not clear internal data after execution

Useless save command is removed

7 years ago0027569: [Regression in 6.9.0] Projecting a curve hangs
aml [Thu, 9 Jun 2016 11:38:04 +0000 (14:38 +0300)]
0027569: [Regression in 6.9.0] Projecting a curve hangs

Parameterization speed is taken into account to avoid ProjLib projector usage in case of bad input data.
Test case is added.
Test cases correction.

7 years ago0027329: Export to STEP failure
ika [Thu, 9 Jun 2016 13:48:53 +0000 (16:48 +0300)]
0027329: Export to STEP failure

Do ProcessShape for non-manifold too,
Add binding of already written shared faces to STEP entity for non-manifold.

Minor correction of test case bugs/step/bug27329

7 years ago0027592: TKV3d, AIS_RubberBand - SWIG error for method void virtual ComputeSelection
apl [Fri, 10 Jun 2016 12:36:19 +0000 (15:36 +0300)]
0027592: TKV3d, AIS_RubberBand - SWIG error for method void virtual ComputeSelection

Commit modifies "AIS_RubberBand.hxx" header file.
- Adds declaration of handle.
- Puts virtual & void modifiers of ComputeSelection method in common order.

7 years ago0027581: Logical error in Bnd_Box(2d)::SquareExtent() method.
nbv [Wed, 8 Jun 2016 14:42:18 +0000 (17:42 +0300)]
0027581: Logical error in Bnd_Box(2d)::SquareExtent() method.

Code in method SquareExtent has been corrected.

7 years ago0027579: Visualization, TKOpenGl - skip FSAA flag within Path Tracing
isk [Wed, 8 Jun 2016 11:33:49 +0000 (14:33 +0300)]
0027579: Visualization, TKOpenGl - skip FSAA flag within Path Tracing

7 years ago0027557: Unstable HLR tests
jgv [Mon, 6 Jun 2016 15:58:40 +0000 (18:58 +0300)]
0027557: Unstable HLR tests

The following modifications were done for stability:
- Precision::PConfusion() was set as parameter of Classifier instead of 0.0
- Coinciding vertices of outlines are united to exclude neighborhood of common vertex from curve-curve intersection
- Draw command "hlrin3d" was modified to prevent exception

Minor corrections

Corrections of test cases for issue CR27557

7 years ago0027565: [Regression to OCCT 7.0.0] Number of Intersections Is Wrong
aml [Fri, 3 Jun 2016 17:08:00 +0000 (20:08 +0300)]
0027565: [Regression to OCCT 7.0.0] Number of Intersections Is Wrong

Incorrect tolerance management is fixed.
Test case is added.

7 years ago0027513: Configuration, CMake - Option INSTALL_TBB does not install tbbmalloc.dll
ski [Thu, 2 Jun 2016 14:41:17 +0000 (17:41 +0300)]
0027513: Configuration, CMake - Option INSTALL_TBB does not install tbbmalloc.dll

Installation of tbbmalloc.dll was corrected.

7 years ago0026747: Some constructors of gp_Parab2d class contain redundant parameters
nbv [Mon, 11 Apr 2016 08:12:45 +0000 (11:12 +0300)]
0026747: Some constructors of gp_Parab2d class contain redundant parameters

1. Useless constructors have been deleted.
2. Value returned by gp_Parab2d::Directrix() method has been corrected to exclude reversing the directrix.
3. Documentation of gp_Parab2d class has been updated (in hxx-file).
4. Upgrade Guide has been updated according to corrections made in this issue.

Creation of test cases for this issue.