Home
last modified time | relevance | path

Searched refs:sameside (Results 1 – 21 of 21) sorted by relevance

/dports/math/minizinc/libminizinc-2.5.5/docs/chi/examples/
H A Dwedding.mzn13 array[Hatreds] of var 0..1: sameside; % 互相憎恶的客人是否坐在同一边
26 sameside[h] = bool2int(p1[h] <= 6 <-> p2[h] <= 6) /\
27 cost[h] = sameside[h] * abs(p1[h] - p2[h]) +
28 (1 - sameside[h]) * (abs(13 - p1[h] - p2[h]) + 1) );
/dports/math/minizinc/libminizinc-2.5.5/docs/en/examples/
H A Dwedding.mzn13 array[Hatreds] of var 0..1: sameside; % seats of hatred on same side
26 sameside[h] = bool2int(p1[h] <= 6 <-> p2[h] <= 6) /\
27 cost[h] = sameside[h] * abs(p1[h] - p2[h]) +
28 (1 - sameside[h]) * (abs(13 - p1[h] - p2[h]) + 1) );
/dports/math/minizinc/libminizinc-2.5.5/docs/es/examples/
H A Dwedding_es.mzn20 array[Hatreds] of var 0..1: sameside;
35 sameside[h] = bool2int(p1[h] <= 6 <-> p2[h] <= 6) /\
36 cost[h] = sameside[h] * abs(p1[h] - p2[h]) +
37 (1 - sameside[h]) * (abs(13 - p1[h] - p2[h]) + 1) );
/dports/cad/opencascade/opencascade-7.6.0/src/ChFi3d/
H A DChFi3d_ChBuilder_C3.cxx242 Standard_Boolean sameside[3], oksea[3]; in PerformThreeCorner() local
270 p[0][1],p[1][0],Index[0],Index[1],face[2],sameside[2], in PerformThreeCorner()
273 p[0][2],p[2][0],Index[0],Index[2],face[1],sameside[1], in PerformThreeCorner()
276 p[1][2],p[2][1],Index[1],Index[2],face[0],sameside[0], in PerformThreeCorner()
287 if(oksea[2] && oksea[1] && !sameside[2] && !sameside[1]) { in PerformThreeCorner()
292 p[1][2],p[2][1],face[0],sameside[0], in PerformThreeCorner()
295 else if(oksea[2] && oksea[0] && !sameside[2] && !sameside[0]) { in PerformThreeCorner()
299 p[0][2],p[2][0],face[1],sameside[1], in PerformThreeCorner()
302 else if(oksea[1] && oksea[0] && !sameside[1] && !sameside[0]) { in PerformThreeCorner()
306 p[0][1],p[1][0],face[2],sameside[2], in PerformThreeCorner()
H A DChFi3d_FilBuilder_C3.cxx146 Standard_Boolean& sameside, in SearchFD() argument
161 …if(ChFi3d_IsInFront(DStr,cd1,cd2,i,if2,sens1,sens2,p1,p2,face,sameside,jf1,jf2,visavis,Vtx,Standar… in SearchFD()
173 …if(ChFi3d_IsInFront(DStr,cd1,cd2,if1,i,sens1,sens2,p1,p2,face,sameside,jf1,jf2,visavis,Vtx,Standar… in SearchFD()
235 Standard_Boolean sameside[3], oksea[3]; in PerformThreeCorner() local
263 p[0][1],p[1][0],Index[0],Index[1],face[2],sameside[2], in PerformThreeCorner()
266 p[0][2],p[2][0],Index[0],Index[2],face[1],sameside[1], in PerformThreeCorner()
269 p[1][2],p[2][1],Index[1],Index[2],face[0],sameside[0], in PerformThreeCorner()
276 if(oksea[2] && oksea[1] && !sameside[2] && !sameside[1]) in PerformThreeCorner()
278 else if(oksea[2] && oksea[0] && !sameside[2] && !sameside[0]) in PerformThreeCorner()
280 else if(oksea[1] && oksea[0] && !sameside[1] && !sameside[0]) in PerformThreeCorner()
H A DChFi3d_Builder_0.cxx801 Standard_Boolean& sameside, in ChFi3d_IsInFront() argument
827 sameside = ChFi3d::SameSide(Or,OrSave1,OrSave2,OrFace1,OrFace2); in ChFi3d_IsInFront()
836 u1 = p1; u2 = p2; ss = sameside; j1 = jf1; j2 = jf2; ff = face; in ChFi3d_IsInFront()
848 sameside = ChFi3d::SameSide(Or,OrSave1,OrSave2,OrFace1,OrFace2); in ChFi3d_IsInFront()
862 p1 = u1; p2 = u2; sameside = ss; jf1 = j1; jf2 = j2; face = ff; in ChFi3d_IsInFront()
870 p1 = u1; p2 = u2; sameside = ss; jf1 = j1; jf2 = j2; face = ff; in ChFi3d_IsInFront()
881 sameside = ChFi3d::SameSide(Or,OrSave1,OrSave2,OrFace1,OrFace2); in ChFi3d_IsInFront()
903 p1 = u1; p2 = u2; sameside = ss; jf1 = j1; jf2 = j2; face = ff; in ChFi3d_IsInFront()
914 sameside = ChFi3d::SameSide(Or,OrSave1,OrSave2,OrFace1,OrFace2); in ChFi3d_IsInFront()
936 p1 = u1; p2 = u2; sameside = ss; jf1 = j1; jf2 = j2; face = ff; in ChFi3d_IsInFront()
[all …]
H A DChFi3d_Builder_0.hxx344 Standard_Boolean& sameside,
490 Standard_Boolean& sameside,
H A DChFi3d_Builder_CnCrn.cxx1087 Standard_Boolean sameside,trouve,isfirst; in PerformMoreThreeCorner() local
1506 face,sameside,jf1,jfp); in PerformMoreThreeCorner()
/dports/math/asymptote/asymptote-2.67/
H A Dbezierpatch.cc67 bool sameside(const double *a, const double *b, int s0, const double *A, in sameside() function
83 sameside(a,b,s0,A,B,C) && in intersect2D()
84 sameside(b,c,s0,A,B,C) && in intersect2D()
85 sameside(c,a,s0,A,B,C) && in intersect2D()
86 sameside(A,B,S0,a,b,c) && in intersect2D()
87 sameside(B,C,S0,a,b,c) && in intersect2D()
88 sameside(C,A,S0,a,b,c); in intersect2D()
H A Dasy-keywords.el14 …rotateO rotation round roundbox roundedpath roundrectangle samecoordsys sameside sample save saved…
H A Dasy.list2565 bool sameside(point M, point N, point O);
2566 bool sameside(point M, point P, line l);
2567 point[] sameside(point M, line l1, line l2);
/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DChFi3d_Builder_0.hxx344 Standard_Boolean& sameside,
490 Standard_Boolean& sameside,
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/
H A DChFi3d_Builder_0.hxx344 Standard_Boolean& sameside,
490 Standard_Boolean& sameside,
/dports/cad/netgen/netgen-6.2.2105/libsrc/meshing/
H A Dlocalh.cpp746 bool sameside = adfront->SameSide (c, fc, &sub); in FindInnerBoxesRec2() local
747 if (sameside) in FindInnerBoxesRec2()
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/
H A Dasy-keywords.el14 …rotateO rotation round roundbox roundedpath roundrectangle samecoordsys sameside sample save saved…
H A Dasy.list2453 bool sameside(point M, point N, point O);
2454 bool sameside(point M, point P, line l);
2455 point[] sameside(point M, line l1, line l2);
/dports/math/asymptote/asymptote-2.67/base/
H A Dgeometry.asy1144 bool sameside(point M, point N, point O)
1638 bool sameside(point M, point P, line l)
1723 if (l.extendA) return sameside(M, l.A, l.B);
1724 return sameside(M, l.B, l.A);
2231 point[] sameside(point M, line l1, line l2)
3344 if(sameside(co.D.A + v, co.F, co.D)) v = -v;
5004 return sameside(M, point(R, point(ap, 1)), l);
5832 int sameside(pair A, pair B, pair m, pair p)
5843 ot.a = sameside(B, C, A, m) * t1/t.a();
5844 ot.b = sameside(A, C, B, m) * t2/t.b();
[all …]
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/base/
H A Dgeometry.asy1137 bool sameside(point M, point N, point O)
1633 bool sameside(point M, point P, line l)
1718 if (l.extendA) return sameside(M, l.A, l.B);
1719 return sameside(M, l.B, l.A);
2226 point[] sameside(point M, line l1, line l2)
3407 if(sameside(co.D.A + v, co.F, co.D)) v = -v;
5067 return sameside(M, point(R, point(ap, 1)), l);
5895 int sameside(pair A, pair B, pair m, pair p)
5906 ot.a = sameside(B, C, A, m) * t1/t.a();
5907 ot.b = sameside(A, C, B, m) * t2/t.b();
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/build/src/
H A Dengine.cpp9281 static inline int32_t sameside(const _equation *eq, const vec2f_t *p1, const vec2f_t *p2) in sameside() function
9641 if (!sameside(&maskeq, &spr, &pos)) in renderDrawMasks()
9648 const int32_t inleft = sameside(&p1eq, &middle, &spr); in renderDrawMasks()
9649 const int32_t inright = sameside(&p2eq, &middle, &spr); in renderDrawMasks()
9691 if (!sameside(&maskeq, &spr, &pos)) // behind the maskwall, in renderDrawMasks()
9692 if ((sameside(&p1eq, &middle, &spr) && // inside the 'cone', in renderDrawMasks()
9693 sameside(&p2eq, &middle, &spr)) in renderDrawMasks()
9694 … || !sameside(&pineq, &middle, &spr)) // or on the other outside. in renderDrawMasks()
/dports/science/elmerfem/elmerfem-release-9.0/elmergrid/src/
H A Degmesh.c4414 int noboundnodes,sameside,newtype,elemtype; in FindNewBoundaries() local
4507 sameside = CompareIndexes(sideelemtype,sideind0,sideind); in FindNewBoundaries()
4508 if(sameside) { in FindNewBoundaries()
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/Application/plugins/
H A Degmesh.cpp4414 int noboundnodes,sameside,newtype,elemtype; in FindNewBoundaries() local
4507 sameside = CompareIndexes(sideelemtype,sideind0,sideind); in FindNewBoundaries()
4508 if(sameside) { in FindNewBoundaries()