projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0030448: Coding - add typo detection to derivation creation methods using Standard_NO...
[occt.git]
/
src
/
Geom2d
/
Geom2d_VectorWithMagnitude.cxx
diff --git
a/src/Geom2d/Geom2d_VectorWithMagnitude.cxx
b/src/Geom2d/Geom2d_VectorWithMagnitude.cxx
index
aa86352
..
147cc66
100644
(file)
--- a/
src/Geom2d/Geom2d_VectorWithMagnitude.cxx
+++ b/
src/Geom2d/Geom2d_VectorWithMagnitude.cxx
@@
-135,8
+135,7
@@
void Geom2d_VectorWithMagnitude::Normalize () { gpVec2d.Normalize (); }
Handle(Geom2d_VectorWithMagnitude) Geom2d_VectorWithMagnitude::Normalized () const {
- gp_Vec2d V = gpVec2d;
- V.Normalized ();
+ gp_Vec2d V = gpVec2d.Normalized();
return new VectorWithMagnitude (V);
}