0024305: New option in BRepOffsetAPI_MakePipeShell algorithm: the swept shell with varying width of section bounded by auxiliary spine

Test case for issue CR24305
This commit is contained in:
jgv
2013-11-14 12:37:05 +04:00
committed by bugmaster
parent 4058ef10a9
commit f9032cf2ee
12 changed files with 241 additions and 44 deletions

View File

@@ -53,7 +53,8 @@ uses
Vertex from TopoDS,
TransitionMode from BRepBuilderAPI,
PipeError from BRepBuilderAPI,
PipeShell from BRepFill
PipeShell from BRepFill,
TypeOfContact from BRepFill
raises
DomainError from Standard,
@@ -98,7 +99,7 @@ is
SetMode(me : in out;
AuxiliarySpine : Wire from TopoDS;
CurvilinearEquivalence : Boolean;
KeepContact : Boolean = Standard_False );
KeepContact : TypeOfContact from BRepFill = BRepFill_NoContact );
---Purpose: Sets an auxiliary spine to define the Normal
-- For each Point of the Spine P, an Point Q is evalued
@@ -332,6 +333,7 @@ is
is redefined;
fields
myPipe : PipeShell from BRepFill;
end MakePipeShell;

View File

@@ -90,8 +90,8 @@ BRepOffsetAPI_MakePipeShell::BRepOffsetAPI_MakePipeShell(const TopoDS_Wire& Spin
//purpose :
//=======================================================================
void BRepOffsetAPI_MakePipeShell::SetMode(const TopoDS_Wire& AuxiliarySpine,
const Standard_Boolean CurvilinearEquivalence,
const Standard_Boolean KeepContact)
const Standard_Boolean CurvilinearEquivalence,
const BRepFill_TypeOfContact KeepContact)
{
myPipe->Set(AuxiliarySpine, CurvilinearEquivalence, KeepContact);
}