/dports/cad/opencascade/opencascade-7.6.0/src/BRepBlend/ |
H A D | BRepBlend_SurfCurvConstRadInv.cxx | 124 gp_Vec dnplan; in Derivatives() local 125 dnplan.SetLinearForm(-nplan.Dot(d2gui),nplan,d2gui); in Derivatives() 126 dnplan.Multiply(unsurnormd1gui); in Derivatives() 131 D(1,1) = dnplan.XYZ().Dot(ptcur.XYZ()) + dtheD; in Derivatives() 141 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Derivatives() 154 gp_Vec dwguinplancrosnsurf = dnplan.Crossed(nsurf); in Derivatives() 205 gp_Vec dnplan; in Values() local 207 dnplan.Multiply(unsurnormd1gui); in Values() 213 D(1,1) = dnplan.XYZ().Dot(ptcur.XYZ()) + dtheD; in Values() 224 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Values() [all …]
|
H A D | BRepBlend_SurfPointConstRadInv.cxx | 119 gp_Vec d1cur,d2cur,nplan,dnplan,d1u,d1v,d2u,d2v,duv; in Derivatives() local 133 dnplan.Multiply(unsurnormd1cur); in Derivatives() 135 D(1,1) = dnplan.XYZ().Dot(point.XYZ()) + dtheD; in Derivatives() 138 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Derivatives() 147 gp_Vec dwnplancrosnsurf = dnplan.Crossed(nsurf); in Derivatives() 162 Standard_Real dwnplandotnsurf = dnplan.Dot(nsurf); in Derivatives() 214 dnplan.Multiply(unsurnormd1cur); in Values() 216 D(1,1) = dnplan.XYZ().Dot(point.XYZ()) + dtheD; in Values() 218 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Values() 227 gp_Vec dwnplancrosnsurf = dnplan.Crossed(nsurf); in Values() [all …]
|
H A D | BRepBlend_SurfPointEvolRadInv.cxx | 102 gp_Vec d1cur,d2cur,nplan,dnplan,d1u,d1v,d2u,d2v,duv; in Derivatives() local 113 dnplan.Multiply(unsurnormd1cur); in Derivatives() 115 D(1,1) = dnplan.XYZ().Dot(point.XYZ()) + dtheD; in Derivatives() 118 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Derivatives() 127 gp_Vec dwnplancrosnsurf = dnplan.Crossed(nsurf); in Derivatives() 142 Standard_Real dwnplandotnsurf = dnplan.Dot(nsurf); in Derivatives() 190 dnplan.Multiply(unsurnormd1cur); in Values() 192 D(1,1) = dnplan.XYZ().Dot(point.XYZ()) + dtheD; in Values() 194 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Values() 203 gp_Vec dwnplancrosnsurf = dnplan.Crossed(nsurf); in Values() [all …]
|
H A D | BRepBlend_SurfCurvEvolRadInv.cxx | 119 gp_Vec dnplan; in Derivatives() local 120 dnplan.SetLinearForm(-nplan.Dot(d2gui),nplan,d2gui); in Derivatives() 121 dnplan.Multiply(unsurnormd1gui); in Derivatives() 126 D(1,1) = dnplan.XYZ().Dot(ptcur.XYZ()) + dtheD; in Derivatives() 136 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Derivatives() 149 gp_Vec dwguinplancrosnsurf = dnplan.Crossed(nsurf); in Derivatives() 207 gp_Vec dnplan; in Values() local 209 dnplan.Multiply(unsurnormd1gui); in Values() 215 D(1,1) = dnplan.XYZ().Dot(ptcur.XYZ()) + dtheD; in Values() 226 D(2,1) = dnplan.XYZ().Dot(pts.XYZ()) + dtheD; in Values() [all …]
|
H A D | BRepBlend_CurvPointRadInv.cxx | 86 gp_Vec d1cur1,d2cur1, d1cur2, nplan, dnplan; in Derivatives() local 94 dnplan.SetLinearForm(-nplan.Dot(d2cur1), nplan, d2cur1); in Derivatives() 95 dnplan.Multiply(unsurnormd1cur1); in Derivatives() 96 dtheD = - nplan.XYZ().Dot(d1cur1.XYZ()) - dnplan.XYZ().Dot(ptcur1.XYZ()); in Derivatives() 97 D(1,1) = dnplan.XYZ().Dot(point.XYZ()) + dtheD; in Derivatives() 100 D(2,1) = dnplan.XYZ().Dot(ptcur2.XYZ()) + dtheD; in Derivatives()
|
H A D | BRepBlend_SurfRstConstRad.cxx | 370 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 374 secmember(1) = normtg - dnplan.Dot(temp); in IsSolution() 377 secmember(2) = normtg - dnplan.Dot(temp); in IsSolution() 386 ray*ndotns/norm,dnplan, in IsSolution() 882 gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2; in Section() local 901 dnplan.SetLinearForm(1./normtg,d2gui, in Section() 914 secmember(1) = normtg - dnplan.Dot(temp); in Section() 917 secmember(2) = normtg - dnplan.Dot(temp); in Section() 934 ndotns/norm,dnplan, in Section() 1034 dnplan.Reverse(); in Section() [all …]
|
H A D | BRepBlend_SurfRstEvolRad.cxx | 422 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 426 secmember(1) = normtg - dnplan.Dot(temp); in IsSolution() 429 secmember(2) = normtg - dnplan.Dot(temp); in IsSolution() 439 ndotns/norm,dnplan, in IsSolution() 889 gp_Vec ns,ns2,dnplan,dnw,dn2w;//,np2,dnp2; in Section() local 912 dnplan.SetLinearForm(1./normtg,d2gui, in Section() 925 secmember(1) = normtg - dnplan.Dot(temp); in Section() 928 secmember(2) = normtg - dnplan.Dot(temp); in Section() 945 ndotns/norm,dnplan, in Section() 1048 dnplan.Reverse(); in Section() [all …]
|
H A D | BRepBlend_RstRstConstRad.cxx | 233 gp_Vec dnplan, d1urst1, d1vrst1, d1urst2, d1vrst2, d11, d21, temp; in IsSolution() local 252 dnplan.SetLinearForm(1./normtg, d2gui, in IsSolution() 256 secmember(1) = normtg - dnplan.Dot(temp); in IsSolution() 259 secmember(2) = normtg - dnplan.Dot(temp); in IsSolution() 820 gp_Vec dnplan, d1n1, d1n2;//,np2, dnp2; in Section() local 838 dnplan.SetLinearForm(1./normtg, d2gui, in Section() 852 secmember(1) = normtg - dnplan.Dot(temp); in Section() 855 secmember(2) = normtg - dnplan.Dot(temp); in Section() 901 d1P1P2CrosNp = d1rst1rst2.Crossed(nplan) + rst1rst2.Crossed(dnplan); in Section() 970 dnplan.Reverse(); in Section() [all …]
|
H A D | BRepBlend_RstRstEvolRad.cxx | 302 gp_Vec dnplan, d1urst1, d1vrst1, d1urst2, d1vrst2, d11, d21, temp; in IsSolution() local 321 dnplan.SetLinearForm(1./normtg, d2gui, in IsSolution() 325 secmember(1) = normtg - dnplan.Dot(temp); in IsSolution() 328 secmember(2) = normtg - dnplan.Dot(temp); in IsSolution() 921 gp_Vec dnplan, d1n1, d1n2;//,np2, dnp2; in Section() local 940 dnplan.SetLinearForm(1./normtg, d2gui, in Section() 954 secmember(1) = normtg - dnplan.Dot(temp); in Section() 957 secmember(2) = normtg - dnplan.Dot(temp); in Section() 1002 d1P1P2CrosNp = d1rst1rst2.Crossed(nplan) + rst1rst2.Crossed(dnplan); in Section() 1076 dnplan.Reverse(); in Section() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/BlendFunc/ |
H A D | BlendFunc_RuledInv.cxx | 175 gp_Vec dnplan; in Derivatives() local 176 dnplan.SetLinearForm(-nplan.Dot(d2cur),nplan,d2cur); in Derivatives() 177 dnplan /= normtgcur; in Derivatives() 301 grosterme = ncrossns1.Dot(dnplan.Crossed(ns1))/norm1/norm1; in Derivatives() 303 ndotns1/norm1,dnplan, in Derivatives() 309 ndotns2/norm2,dnplan, in Derivatives() 331 gp_Vec dnplan; in Values() local 332 dnplan.SetLinearForm(-nplan.Dot(d2cur),nplan,d2cur); in Values() 333 dnplan /= normtgcur; in Values() 465 ndotns1/norm1,dnplan, in Values() [all …]
|
H A D | BlendFunc_Ruled.cxx | 102 gp_Vec dnplan,d1u1,d1v1,d1u2,d1v2,temp,ns,ncrossns; in IsSolution() local 116 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 130 ndotns/norm,dnplan, in IsSolution() 144 ndotns/norm,dnplan, in IsSolution() 478 dnplan.SetLinearForm(1./normtg,d2gui, in GetSection() 492 ndotns/norm,dnplan, in GetSection() 506 ndotns/norm,dnplan, in GetSection() 704 gp_Vec dirax, dnplan; in AxeRot() local 711 dnplan.SetLinearForm(1./normtg,d2gui, in AxeRot() 714 dirax = nplan.Crossed(dnplan); in AxeRot() [all …]
|
H A D | BlendFunc_ConstRad.cxx | 389 ndotns1*invnorm1,dnplan, in ComputeValues() 395 ndotns2*invnorm2,dnplan, in ComputeValues() 612 p1 = dnplan.Dot(nsurf1); in ComputeValues() 638 p1 = dnplan.Dot(nsurf1); in ComputeValues() 646 + uterm*ndotns1, dnplan, in ComputeValues() 667 p1 = dnplan.Dot(nsurf2); in ComputeValues() 669 p12 = dnplan.Dot(dns1u2); in ComputeValues() 676 + uterm*ndotns2, dnplan, in ComputeValues() 693 p1 = dnplan.Dot(nsurf2); in ComputeValues() 1426 dnp = dnplan; in Section() [all …]
|
H A D | BlendFunc_EvolRad.cxx | 451 ndotns1*invnorm1,dnplan, in ComputeValues() 457 ndotns2*invnorm2,dnplan, in ComputeValues() 678 p1 = dnplan.Dot(nsurf1); in ComputeValues() 704 p1 = dnplan.Dot(nsurf1); in ComputeValues() 712 + uterm*ndotns1, dnplan, in ComputeValues() 733 p1 = dnplan.Dot(nsurf2); in ComputeValues() 735 p12 = dnplan.Dot(dns1u2); in ComputeValues() 742 + uterm*ndotns2, dnplan, in ComputeValues() 759 p1 = dnplan.Dot(nsurf2); in ComputeValues() 1531 dnp = dnplan; in Section() [all …]
|
H A D | BlendFunc_ConstRadInv.cxx | 257 dnplan.SetLinearForm(theD, nplan, d2cur); in Derivatives() 258 dnplan /= normtgcur; in Derivatives() 268 D(1,2) = dnplan.Dot(temp) - normtgcur; in Derivatives() 279 D(1,2) = dnplan.Dot(temp) - normtgcur; in Derivatives() 362 ray1*ndotns1/norm1,dnplan, in Derivatives() 368 -ray2*ndotns2/norm2,dnplan, in Derivatives() 431 dnplan /= normtgcur; in Values() 443 D(1,2) = dnplan.Dot(temp) - normtgcur; in Values() 455 D(1,2) = dnplan.Dot(temp) - normtgcur; in Values() 551 ray1*ndotns1/norm1,dnplan, in Values() [all …]
|
H A D | BlendFunc_Corde.cxx | 185 gp_Vec dnplan; in DerFguide() local 186 dnplan.SetLinearForm(1./normtg,d2gui,-1./normtg*(nplan.Dot(d2gui)),nplan); in DerFguide() 190 DerF.SetX( dnplan.Dot(temp)-nplan.Dot(d1gui) ); in DerFguide() 204 gp_Vec dnplan,temp,d1u,d1v; in IsSolution() local 212 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 217 secmember(1) = nplan.Dot(d1gui) - dnplan.Dot(temp); in IsSolution()
|
H A D | BlendFunc_CSConstRad.cxx | 183 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 199 ray*ndotns/norm,dnplan, in IsSolution() 577 gp_Vec ns,dnplan,dnw,dn2w,ncrn,dncrn,ns2; in GetSection() local 590 dnplan.SetLinearForm(1./normtg,d2gui, in GetSection() 601 secmember(1) = normtg - dnplan.Dot(temp); in GetSection() 615 ndotns/norm,dnplan, in GetSection() 656 dnplan.Reverse(); in GetSection() 901 dnplan.SetLinearForm(1./normtg,d2gui, in Section() 927 ndotns/norm,dnplan, in Section() 1005 dnplan.Reverse(); in Section() [all …]
|
H A D | BlendFunc_CSCircular.cxx | 205 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 221 ray*ndotns/norm,dnplan, in IsSolution() 600 gp_Vec ns,dnplan,dnw,dn2w,ncrn,dncrn,ns2; in GetSection() local 611 dnplan.SetLinearForm(1./normtg,d2gui, in GetSection() 631 ndotns/norm,dnplan, in GetSection() 680 dnplan.Reverse(); in GetSection() 903 gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2; in Section() local 920 dnplan.SetLinearForm(1./normtg,d2gui, in Section() 941 ndotns/norm,dnplan, in Section() 1025 dnplan.Reverse(); in Section() [all …]
|
H A D | BlendFunc_ChAsymInv.cxx | 214 gp_Vec nplan, dnplan, d1gui, d2gui, d1u1, d1v1, d2u1, d2v1, d2uv1, d1u2, d1v2; in ComputeValues() local 242 dnplan = (d2gui - nplan.Dot(d2gui) * nplan) / Normg; in ComputeValues() 246 dnplan.Reverse(); in ComputeValues() 289 dwtsurf1 = Nsurf1.Crossed(dnplan); in ComputeValues() 292 DX(1, 2) = dnplan.Dot(nps1) - Normg; in ComputeValues() 297 DX(2, 2) = dnplan.Dot(nps2) - Normg; in ComputeValues() 312 temp -= dnplan.Dot(tempVec) + nplan.Dot(dwtsurf1.Crossed(s1s2)); in ComputeValues() 325 dwtsurf1 = Nsurf1.Crossed(dnplan); in ComputeValues() 328 DX(1, 2) = dnplan.Dot(nps1) - Normg; in ComputeValues() 333 DX(2, 2) = dnplan.Dot(nps2) - Normg; in ComputeValues() [all …]
|
H A D | BlendFunc_EvolRadInv.cxx | 261 gp_Vec dnplan; in Values() local 262 dnplan.SetLinearForm(-nplan.Dot(d2cur),nplan,d2cur); in Values() 263 dnplan /= normtgcur; in Values() 281 D(1,2) = dnplan.Dot(temp) - normtgcur; in Values() 293 D(1,2) = dnplan.Dot(temp) - normtgcur; in Values() 383 grosterme = ncrossns1.Dot(dnplan.Crossed(ns1))/norm1/norm1; in Values() 384 resul1.SetLinearForm(-sg1/norm1*(grosterme*ndotns1-dnplan.Dot(ns1)),nplan, in Values() 385 sg1*ndotns1/norm1,dnplan, in Values() 389 grosterme = ncrossns2.Dot(dnplan.Crossed(ns2))/norm2/norm2; in Values() 390 resul2.SetLinearForm(sg2/norm2*(grosterme*ndotns2-dnplan.Dot(ns2)),nplan, in Values() [all …]
|
H A D | BlendFunc_ConstThroatWithPenetration.cxx | 62 gp_Vec dnplan, temp1, temp2, temp3; in IsSolution() local 69 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 78 secmember(1) = nplan.Dot(d1gui) - dnplan.Dot(temp1); in IsSolution() 79 secmember(2) = nplan.Dot(d1gui) - dnplan.Dot(temp2); in IsSolution()
|
H A D | BlendFunc_ConstThroatWithPenetrationInv.cxx | 116 gp_Vec dnplan, temp, temp1, temp2, temp3; //, d1u, d1v, nplan; in Derivatives() local 129 dnplan.SetLinearForm(1./normtg,d2gui, in Derivatives() 205 D(1,2) = dnplan.Dot(temp1) - nplan.Dot(d1gui); in Derivatives() 206 D(2,2) = dnplan.Dot(temp2) - nplan.Dot(d1gui); in Derivatives()
|
H A D | BlendFunc_ConstThroatInv.cxx | 169 gp_Vec dnplan, temp, temp1, temp2, tempmid; //, d1u, d1v, nplan; in Derivatives() local 182 dnplan.SetLinearForm(1./normtg,d2gui, in Derivatives() 250 D(1,2) = dnplan.Dot(temp1) - nplan.Dot(d1gui); in Derivatives() 251 D(2,2) = dnplan.Dot(temp2) - nplan.Dot(d1gui); in Derivatives()
|
H A D | BlendFunc_ConstThroat.cxx | 92 gp_Vec dnplan, temp1, temp2, tempmid; in IsSolution() local 99 dnplan.SetLinearForm(1./normtg,d2gui, in IsSolution() 108 secmember(1) = nplan.Dot(d1gui) - dnplan.Dot(temp1); in IsSolution() 109 secmember(2) = nplan.Dot(d1gui) - dnplan.Dot(temp2); in IsSolution()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomFill/ |
H A D | GeomFill_CircularBlendFunc.cxx | 311 gp_Vec DCenter, nplan, dnplan, DP1, DP2; in D1() local 334 dnplan.Reverse(); in D1() 361 dnplan.SetLinearForm(-dnplan.Dot(nplan), nplan, dnplan); in D1() 362 dnplan *= invnormp; in D1() 367 nplan, dnplan, in D1() 398 gp_Vec nplan, dnplan, d2nplan; in D2() local 425 dnplan.Reverse(); in D2() 472 sc = dnplan.Dot(nplan); in D2() 477 dnplan.SetLinearForm(-sc, nplan, dnplan); in D2() 478 dnplan *= invnormp; in D2() [all …]
|
H A D | GeomFill.cxx | 451 const gp_Vec& nplan, const gp_Vec& dnplan, in GetCircle() argument 509 nplan, dnplan, in GetCircle() 521 nplan, dnplan, in GetCircle() 533 dnp2 = dnplan.Crossed(ns1).Added(nplan.Crossed(dn1w)); in GetCircle() 583 const gp_Vec& nplan, const gp_Vec& dnplan, in GetCircle() argument 631 DAngle = (dnplan.Dot(ns1.Crossed(ns2)) + nplan.Dot(temp))/Cosa; in GetCircle() 632 D2Angle = ( d2nplan.Dot(ns1.Crossed(ns2)) +2*dnplan.Dot(temp) in GetCircle() 663 nplan, dnplan, d2nplan, in GetCircle() 675 nplan, dnplan, d2nplan, in GetCircle() 687 dnp2 = dnplan.Crossed(ns1).Added(nplan.Crossed(dn1w)); in GetCircle() [all …]
|