mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 09:38:34 +05:00
Type explicitation
This commit is contained in:
parent
65227b3e7d
commit
215e3e9b92
@ -859,11 +859,11 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects )
|
|||||||
double u_v_det = (it->x - it_previous->x) * (it_next->y - it->y) -
|
double u_v_det = (it->x - it_previous->x) * (it_next->y - it->y) -
|
||||||
(it->y - it_previous->y) * (it_next->x - it->x);
|
(it->y - it_previous->y) * (it_next->x - it->x);
|
||||||
|
|
||||||
double norme_u = sqrt ( (it->x - it_previous->x)*(it->x - it_previous->x) +
|
double norme_u = sqrt ( double(it->x - it_previous->x) * double(it->x - it_previous->x) +
|
||||||
(it->y - it_previous->y)*(it->y - it_previous->y) );
|
double(it->y - it_previous->y) * double(it->y - it_previous->y) );
|
||||||
|
|
||||||
double norme_v = sqrt ( (it->x - it_next->x)*(it->x - it_next->x) +
|
double norme_v = sqrt ( double(it->x - it_next->x) * double(it->x - it_next->x) +
|
||||||
(it->y - it_next->y)*(it->y - it_next->y) );
|
double(it->y - it_next->y) * double(it->y - it_next->y) );
|
||||||
|
|
||||||
double u_v_sinus = u_v_det / (norme_u * norme_v);
|
double u_v_sinus = u_v_det / (norme_u * norme_v);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user