projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
[occt.git]
/
src
/
IntPatch
/
IntPatch_PrmPrmIntersection.cxx
diff --git
a/src/IntPatch/IntPatch_PrmPrmIntersection.cxx
b/src/IntPatch/IntPatch_PrmPrmIntersection.cxx
index
68a7c36
..
4b87723
100755
(executable)
--- a/
src/IntPatch/IntPatch_PrmPrmIntersection.cxx
+++ b/
src/IntPatch/IntPatch_PrmPrmIntersection.cxx
@@
-2914,7
+2914,7
@@
void IntPatch_PrmPrmIntersection::PointDepart(Handle(IntSurf_LineOn2S)& LineOn2S
for(j=0;j<SV1;j++) {
aIPD.xIP1(i, j)=-1;
const gp_Pnt& P=aIPD.xP1(i, j);
for(j=0;j<SV1;j++) {
aIPD.xIP1(i, j)=-1;
const gp_Pnt& P=aIPD.xP1(i, j);
- aIPD.xP1DS2(i, j) = CodeReject(x20,y20,z20,x21,y21,z21,P.X(),P.Y(),P.Z());
+ aIPD.xP1DS2(i, j) =
(char)
CodeReject(x20,y20,z20,x21,y21,z21,P.X(),P.Y(),P.Z());
int ix = (int)((P.X()-x0 + dx2 )/dx);
if(DansGrille(ix)) {
int iy = (int)((P.Y()-y0 + dy2)/dy);
int ix = (int)((P.X()-x0 + dx2 )/dx);
if(DansGrille(ix)) {
int iy = (int)((P.Y()-y0 + dy2)/dy);
@@
-2932,7
+2932,7
@@
void IntPatch_PrmPrmIntersection::PointDepart(Handle(IntSurf_LineOn2S)& LineOn2S
for(j=0;j<SV2;j++) {
aIPD.xIP2(i, j)=-1;
const gp_Pnt& P=aIPD.xP2(i, j);
for(j=0;j<SV2;j++) {
aIPD.xIP2(i, j)=-1;
const gp_Pnt& P=aIPD.xP2(i, j);
- aIPD.xP2DS1(i, j) = CodeReject(x10,y10,z10,x11,y11,z11,P.X(),P.Y(),P.Z());
+ aIPD.xP2DS1(i, j) =
(char)
CodeReject(x10,y10,z10,x11,y11,z11,P.X(),P.Y(),P.Z());
int ix = (int)((P.X()-x0 + dx2)/dx);
if(DansGrille(ix)) {
int iy = (int)((P.Y()-y0 + dy2)/dy);
int ix = (int)((P.X()-x0 + dx2)/dx);
if(DansGrille(ix)) {
int iy = (int)((P.Y()-y0 + dy2)/dy);