Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V9_9_BR'
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_Projection.cpp
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_Projection.cpp
b/src/GeomAlgoAPI/GeomAlgoAPI_Projection.cpp
index e85b9254fdc9478c80199260a2d364e6fe363ea4..e834119880c212eca0ebf58309630ce06fe6201e 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_Projection.cpp
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_Projection.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2019 CEA/DEN, EDF R&D
+// Copyright (C) 2019
-2022
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-42,7
+42,8
@@
GeomCurvePtr GeomAlgoAPI_Projection::project(const GeomCurvePtr& theCurve)
Handle(Geom_Curve) aCurve = theCurve->impl<Handle_Geom_Curve>();
Handle(Geom_Plane) aPlane = new Geom_Plane(myPlane->impl<gp_Ax3>());
Handle(Geom_Curve) aCurve = theCurve->impl<Handle_Geom_Curve>();
Handle(Geom_Plane) aPlane = new Geom_Plane(myPlane->impl<gp_Ax3>());
- Handle(Geom_Curve) aProj = GeomProjLib::Project(aCurve, aPlane);
+ Handle(Geom_Curve) aProj =
+ GeomProjLib::ProjectOnPlane(aCurve, aPlane, aPlane->Axis().Direction(), false);
GeomCurvePtr aProjCurve(new GeomAPI_Curve);
aProjCurve->setImpl(new Handle_Geom_Curve(aProj));
GeomCurvePtr aProjCurve(new GeomAPI_Curve);
aProjCurve->setImpl(new Handle_Geom_Curve(aProj));