mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Fixed TransferEdge
This commit is contained in:
@@ -308,8 +308,8 @@ Handle(IGESData_IGESEntity) BRepToIGES_BRWire ::TransferEdge (const TopoDS_Edge&
|
|||||||
const Standard_Boolean theIsBRepMode)
|
const Standard_Boolean theIsBRepMode)
|
||||||
{
|
{
|
||||||
Handle(IGESData_IGESEntity) res;
|
Handle(IGESData_IGESEntity) res;
|
||||||
if (theEdge.IsNull() || GetPCurveMode() ==0 ||
|
if (theEdge.IsNull() || ( ! theIsBRepMode && BRep_Tool::Degenerated (theEdge) ) )
|
||||||
( ! theIsBRepMode && BRep_Tool::Degenerated (theEdge) ) ) return res;
|
return res;
|
||||||
|
|
||||||
//S4181 pdn 23.04.99 adjusting length factor according to analytic mode.
|
//S4181 pdn 23.04.99 adjusting length factor according to analytic mode.
|
||||||
Standard_Real myLen = theLength;
|
Standard_Real myLen = theLength;
|
||||||
|
Reference in New Issue
Block a user