occt: master 0bd575a7

Author Committer Branch Timestamp Parent
msv bugmaster master 2017-04-06 12:28:26 master aeee70d3
Affected Issues  0028636: Optimisation of gp_* classes in order to avoid unnecesary calling gp_Dir* constructors with normalisation
Changeset 0028636: Optimisation of gp_* classes in order to avoid unnecesary calling gp_Dir* constructors with normalisation

The improvement is concluded in replacement of calls to gp_Dir2d(1,0) with calls to gp_Dir2d(void).
Thus we avoid sqrt() that is called from within gp_Dir2d(double,double). The same is with direction in 3D space.
mod - src/gp/gp_Ax2.lxx Diff File
mod - src/gp/gp_Ax22d.lxx Diff File
mod - src/gp/gp_Ax2d.lxx Diff File
mod - src/gp/gp_Ax3.lxx Diff File