Skip to content

Commit

Permalink
fixed forgotten modifications for the upgrade of gmds
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslg committed Aug 7, 2024
1 parent b2b65ad commit ec9adf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Mesh/MeshModificationBySepa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ applyModification(std::vector<gmds::Node >& AGmdsNodes, std::vector<gmds::Face>&
iter != AGmdsNodes.end(); ++iter) {
gmds::Node node = *iter;

double delta = sepa->getRadialPerturbation(node.getPoint()*convertFactorToMicron);
double delta = sepa->getRadialPerturbation(node.point()*convertFactorToMicron);
m_deltas[node] = delta;

gmds::math::Point point = node.getPoint()*convertFactorToMicron;
gmds::math::Point point = node.point()*convertFactorToMicron;
gmds::math::Point newPoint = (sepa->applyPerturbation(point)) * convertFactorFromMicron;
node.setPoint(newPoint);
}
Expand Down

0 comments on commit ec9adf7

Please sign in to comment.