mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 07:57:31 +08:00
0022805: Bug of STEP read /writer
This commit is contained in:
@@ -670,7 +670,9 @@ void StepToTopoDS_TranslateEdgeLoop::Init(const Handle(StepShape_FaceBound)& Fac
|
||||
myEdgePro->Init (Face, edge);
|
||||
myEdgePro->Compute(preci);
|
||||
if (myEdgePro->IsFirstDone() && myEdgePro->IsLastDone()) {
|
||||
B.Range(edge, Face,myEdgePro->FirstParam(), myEdgePro->LastParam());
|
||||
if (Abs (myEdgePro->FirstParam() - myEdgePro->LastParam()) < Precision::PConfusion())
|
||||
continue;
|
||||
B.Range(edge, Face,myEdgePro->FirstParam(), myEdgePro->LastParam());
|
||||
}
|
||||
else {
|
||||
RemoveSinglePCurve(edge, Face);
|
||||
|
||||
Reference in New Issue
Block a user