#include <TopTools_ListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_SequenceOfShape.hxx>
-#include <ShapeConstruct_ProjectCurveOnSurface.hxx>
#include <ShapeFix_Edge.hxx>
#include <ShapeBuild_Edge.hxx>
#include <ShapeFix_ShapeTolerance.hxx>
else itf2.Initialize(listFacesFirst);
Standard_Boolean isResEdge = Standard_False;
TopoDS_Face fac2;
-
for (; itf2.More(); itf2.Next()) {
Handle(Geom2d_Curve) c2d2, c2d21;
Standard_Real firstOld, lastOld;
for (i = 1; i <= nbp; i++)
c3dpnt(i) = c3dAdapt.Value(first3d + (i - 1)*deltaT);
-
-
Standard_Real dist = 0., maxTol = -1.0;
Standard_Boolean more = Standard_True;
}
aBuilder.SameParameter(edge, Standard_True);
}
-
}
+
Standard_Real tolEdge1 = BRep_Tool::Tolerance(edge);
if (tolEdge1 > MaxTolerance()) edge.Nullify();
return edge;
const Standard_Real preci2)
{
myStatus = ShapeExtend::EncodeStatus (ShapeExtend_OK);
- if( (P1A.SquareDistance(P2B) < P1A.SquareDistance(P2A) ) &&
- ( P1B.SquareDistance(P2A) < P1B.SquareDistance(P2B)) )
+ if (P1A.Distance (P2B) + (P1B.Distance (P2A)) <
+ P1A.Distance (P2A) + (P1B.Distance (P2B)))
{
myStatus |= ShapeExtend::EncodeStatus(ShapeExtend_DONE1);
return Standard_True;