1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type Intersection

Test case for issue CR25729
This commit is contained in:
ifv
2015-02-12 12:18:56 +03:00
committed by bugmaster
parent 2c12770c38
commit b0091bc929
6 changed files with 177 additions and 91 deletions

View File

@@ -83,7 +83,7 @@
#ifdef DRAW
#include <DBRep.hxx>
Standard_IMPORT extern Standard_Boolean AffichInt2d;
Standard_Boolean Inter2dAffichInt2d;
static Standard_Integer NbF2d = 0;
static Standard_Integer NbE2d = 0;
static Standard_Integer NbNewVertices = 0;
@@ -245,7 +245,7 @@ static void Store (const TopoDS_Edge& E1,
}
#ifdef DRAW
if (AffichInt2d) {
if (Inter2dAffichInt2d) {
if (!OnE1 && !OnE2) {
char name[256];
sprintf(name,"VV_%d",NbNewVertices++);
@@ -272,7 +272,7 @@ static void EdgeInter(const TopoDS_Face& F,
Standard_Boolean WithOri)
{
#ifdef DRAW
if (AffichInt2d) {
if (Inter2dAffichInt2d) {
char name[256];
sprintf(name,"E2d_%d_%d",NbF2d,NbE2d++);
DBRep::Set(name,E1);
@@ -543,7 +543,7 @@ static void RefEdgeInter(const TopoDS_Face& F,
gp_Pnt& Pref)
{
#ifdef DRAW
if (AffichInt2d) {
if (Inter2dAffichInt2d) {
char name[256];
sprintf(name,"E2d_%d_%d",NbF2d,NbE2d++);
DBRep::Set(name,E1);