TopoDS_Edge aFE = TopoDS::Edge(aEdge.Oriented(TopAbs_FORWARD));
ShapeAnalysis_TransferParametersProj aSATPP(aFE, TopoDS_Face());
aSATPP.SetMaxTolerance(Precision::Confusion());
- TopoDS_Vertex aSplitV;
+ TopoDS_Vertex aSplitV1, aSplitV2;
BRep_Builder().MakeVertex(
- aSplitV, aCurve.Value(theParameter), Precision::Confusion());
+ aSplitV1, aCurve.Value(theParameter), Precision::Confusion());
+ BRep_Builder().MakeVertex(
+ aSplitV2, aCurve.Value(theParameter), Precision::Confusion());
TopoDS_Edge aEParts[] = {
ShapeBuild_Edge().CopyReplaceVertices(aFE, TopoDS_Vertex(),
- TopoDS::Vertex(aSplitV.Oriented(TopAbs_REVERSED))),
- ShapeBuild_Edge().CopyReplaceVertices(aFE, aSplitV, TopoDS_Vertex())};
+ TopoDS::Vertex(aSplitV1.Oriented(TopAbs_REVERSED))),
+ ShapeBuild_Edge().CopyReplaceVertices(aFE, aSplitV2, TopoDS_Vertex())};
ShapeBuild_Edge().CopyPCurves(aEParts[0], aFE);
ShapeBuild_Edge().CopyPCurves(aEParts[1], aFE);
BRep_Builder().SameRange(aEParts[0], Standard_False);