/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/idxf/ |
H A D | dxfvec.hxx | 60 DXFVector & operator += (const DXFVector & rV); 68 double SProd(const DXFVector & rV) const; 81 bool operator == (const DXFVector & rV) const; 163 fx+=rV.fx; fy+=rV.fy; fz+=rV.fz; in operator +=() 170 return DXFVector(fx+rV.fx, fy+rV.fy, fz+rV.fz); in operator +() 176 return DXFVector(fx-rV.fx, fy-rV.fy, fz-rV.fz); in operator -() 183 fy * rV.fz - fz * rV.fy, in operator *() 184 fz * rV.fx - fx * rV.fz, in operator *() 185 fx * rV.fy - fy * rV.fx in operator *() 192 return fx*rV.fx + fy*rV.fy + fz*rV.fz; in SProd() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/idxf/ |
H A D | dxfvec.hxx | 60 DXFVector & operator += (const DXFVector & rV); 68 double SProd(const DXFVector & rV) const; 81 bool operator == (const DXFVector & rV) const; 163 fx+=rV.fx; fy+=rV.fy; fz+=rV.fz; in operator +=() 170 return DXFVector(fx+rV.fx, fy+rV.fy, fz+rV.fz); in operator +() 176 return DXFVector(fx-rV.fx, fy-rV.fy, fz-rV.fz); in operator -() 183 fy * rV.fz - fz * rV.fy, in operator *() 184 fz * rV.fx - fx * rV.fz, in operator *() 185 fx * rV.fy - fy * rV.fx in operator *() 192 return fx*rV.fx + fy*rV.fy + fz*rV.fz; in SProd() [all …]
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/subdivision/subUtil/ |
H A D | HexahedronMesh.cpp | 153 ….push_back(Hexahedron(++ElementNum, T.rankOfVertex(1),rV[ 0],rV[ 4],rV[12], rV[ 8],rV[14],rV[16],r… in algoSubdivH() 155 …listT.push_back(Hexahedron(++ElementNum, rV[ 0],T.rankOfVertex(2),rV[12],rV[ 5], rV[14],rV[ 9],rV[… in algoSubdivH() 157 …listT.push_back(Hexahedron(++ElementNum, rV[ 4],rV[12],T.rankOfVertex(3),rV[ 1], rV[16],rV[18],rV[… in algoSubdivH() 159 …listT.push_back(Hexahedron(++ElementNum, rV[12],rV[ 5],rV[ 1],T.rankOfVertex(4), rV[18],rV[17],rV[… in algoSubdivH() 161 …listT.push_back(Hexahedron(++ElementNum, rV[ 8],rV[14],rV[16],rV[18], T.rankOfVertex(5),rV[ 2],rV[… in algoSubdivH() 163 …listT.push_back(Hexahedron(++ElementNum, rV[14],rV[ 9],rV[18],rV[17], rV[ 2],T.rankOfVertex(6),rV[… in algoSubdivH() 165 …listT.push_back(Hexahedron(++ElementNum, rV[16],rV[18],rV[10],rV[15], rV[ 6],rV[13],T.rankOfVertex… in algoSubdivH() 167 …listT.push_back(Hexahedron(++ElementNum, rV[18],rV[17],rV[15],rV[11], rV[13],rV[ 7],rV[ 3],T.rankO… in algoSubdivH() 461 VPf0e0[0] = listV_[rV[0]].geomPt(); VPf1e0[0] = listV_[rV[4]].geomPt(); in createHOiV() 462 VPf0e0[1] = listV_[rV[1]].geomPt(); VPf1e0[1] = listV_[rV[5]].geomPt(); in createHOiV() [all …]
|
H A D | TetrahedronMesh.cpp | 200 …listT.push_back(Tetrahedron(++ElementNum,T.rankOfVertex(1),rV[5],rV[4],rV[0],bdSideNo[0])); // ( 1… in algoSubdiv() 201 …listT.push_back(Tetrahedron(++ElementNum,rV[5],T.rankOfVertex(2),rV[3],rV[1],bdSideNo[1])); // (10… in algoSubdiv() 202 …listT.push_back(Tetrahedron(++ElementNum,rV[4],rV[3],T.rankOfVertex(3),rV[2],bdSideNo[2])); // ( 9… in algoSubdiv() 203 …listT.push_back(Tetrahedron(++ElementNum,rV[0],rV[1],rV[2],T.rankOfVertex(4),bdSideNo[3])); // ( 5… in algoSubdiv() 214 real_t d[2]={listV_[rV[0]].squareDistance(listV_[rV[3]]), in algoSubdiv() 215 listV_[rV[1]].squareDistance(listV_[rV[4]])}; in algoSubdiv() 217 if (listV_[rV[2]].squareDistance(listV_[rV[5]]) < d[k]) k = 2; in algoSubdiv() 237 listT.push_back(Tetrahedron(++ElementNum,rV[s[k][t[i][0]]],rV[s[k][t[i][1]]], in algoSubdiv() 238 rV[s[k][t[i][2]]],rV[s[k][t[i][3]]],bdFaceNo[k][i])); in algoSubdiv() 250 number_t rV = T.vertices_[i]; in createHOiV() local [all …]
|
H A D | QuadrangleMesh.cpp | 94 vector<number_t> rV(NbNV); in algoSubdiv() local 96 rV[irv++]=createVertex(VertexNum,T.rkOfO1VeOnEdge(i+1),SeenEdges);} in algoSubdiv() 97 rV[irv++]=createVertex(VertexNum,T.rankOfVertices()); in algoSubdiv() 109 …listT.push_back(Quadrangle(++ElementNum,T.rankOfVertex(1),rV[0],rV[4],rV[3],bdSideNo[0])); // (1,5… in algoSubdiv() 110 …listT.push_back(Quadrangle(++ElementNum,rV[0],T.rankOfVertex(2),rV[1],rV[4],bdSideNo[1])); // (5,2… in algoSubdiv() 111 …listT.push_back(Quadrangle(++ElementNum,rV[4],rV[1],T.rankOfVertex(3),rV[2],bdSideNo[2])); // (9,6… in algoSubdiv() 112 …listT.push_back(Quadrangle(++ElementNum,rV[3],rV[4],rV[2],T.rankOfVertex(4),bdSideNo[3])); // (8,9… in algoSubdiv()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/starmath/source/mathml/ |
H A D | mathmlattr.cxx | 62 rV.eUnit = MathMLLengthUnit::None; in ParseMathMLAttributeLengthValue() 67 rV.eUnit = MathMLLengthUnit::Em; in ParseMathMLAttributeLengthValue() 72 rV.eUnit = MathMLLengthUnit::Ex; in ParseMathMLAttributeLengthValue() 77 rV.eUnit = MathMLLengthUnit::Px; in ParseMathMLAttributeLengthValue() 82 rV.eUnit = MathMLLengthUnit::In; in ParseMathMLAttributeLengthValue() 87 rV.eUnit = MathMLLengthUnit::Cm; in ParseMathMLAttributeLengthValue() 92 rV.eUnit = MathMLLengthUnit::Mm; in ParseMathMLAttributeLengthValue() 97 rV.eUnit = MathMLLengthUnit::Pt; in ParseMathMLAttributeLengthValue() 102 rV.eUnit = MathMLLengthUnit::Pc; in ParseMathMLAttributeLengthValue() 107 rV.eUnit = MathMLLengthUnit::Percent; in ParseMathMLAttributeLengthValue() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/starmath/source/ |
H A D | mathmlattr.cxx | 62 rV.eUnit = MathMLLengthUnit::None; in ParseMathMLAttributeLengthValue() 67 rV.eUnit = MathMLLengthUnit::Em; in ParseMathMLAttributeLengthValue() 72 rV.eUnit = MathMLLengthUnit::Ex; in ParseMathMLAttributeLengthValue() 77 rV.eUnit = MathMLLengthUnit::Px; in ParseMathMLAttributeLengthValue() 82 rV.eUnit = MathMLLengthUnit::In; in ParseMathMLAttributeLengthValue() 87 rV.eUnit = MathMLLengthUnit::Cm; in ParseMathMLAttributeLengthValue() 92 rV.eUnit = MathMLLengthUnit::Mm; in ParseMathMLAttributeLengthValue() 97 rV.eUnit = MathMLLengthUnit::Pt; in ParseMathMLAttributeLengthValue() 102 rV.eUnit = MathMLLengthUnit::Pc; in ParseMathMLAttributeLengthValue() 107 rV.eUnit = MathMLLengthUnit::Percent; in ParseMathMLAttributeLengthValue() [all …]
|
/dports/devel/tclvfs/tclvfs-20080503/library/template/ |
H A D | fishvfs.tcl | 251 foreach rV $returnValue { 252 if [string equal $rV "/"] {set dir 0 ; continue} 253 set fileTail [lindex $rV end] 256 …rV 5] gid [lindex $rV 2] nlink [lindex $rV 6] atime [lindex $rV 0] mode [lindex $rV 4] type [if $d… 295 foreach rV [split $returnValue \n] { 296 if [string equal $rV "/"] {set dir 0 ; continue} 298 set fileTail [lindex $rV end] 301 …rV 5] gid [lindex $rV 2] nlink [lindex $rV 6] atime [lindex $rV 0] mode [lindex $rV 4] type [if $d…
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/svdraw/ |
H A D | gradtrns.cxx | 33 rV.aCol1 = rG.aGradient.GetStartColor(); in GradToVec() 37 rV.aCol1 = Color(rV.aCol1.getBColor() * fFact); in GradToVec() 41 rV.aCol2 = rG.aGradient.GetEndColor(); in GradToVec() 45 rV.aCol2 = Color(rV.aCol2.getBColor() * fFact); in GradToVec() 177 rV.maPositionA = aStartPos; in GradToVec() 178 rV.maPositionB = aEndPos; in GradToVec() 191 rG.aGradient.SetStartColor(rV.aCol1); in VecToGrad() 194 if(rV.aCol2 != rGOld.aGradient.GetEndColor()) in VecToGrad() 196 rG.aGradient.SetEndColor(rV.aCol2); in VecToGrad() 204 basegfx::B2DPoint aStartPos(rV.maPositionA); in VecToGrad() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/svdraw/ |
H A D | gradtrns.cxx | 34 rV.aCol1 = rG.aGradient.GetStartColor(); in GradToVec() 38 rV.aCol1 = Color(rV.aCol1.getBColor() * fFact); in GradToVec() 42 rV.aCol2 = rG.aGradient.GetEndColor(); in GradToVec() 46 rV.aCol2 = Color(rV.aCol2.getBColor() * fFact); in GradToVec() 178 rV.maPositionA = aStartPos; in GradToVec() 179 rV.maPositionB = aEndPos; in GradToVec() 192 rG.aGradient.SetStartColor(rV.aCol1); in VecToGrad() 195 if(rV.aCol2 != rGOld.aGradient.GetEndColor()) in VecToGrad() 197 rG.aGradient.SetEndColor(rV.aCol2); in VecToGrad() 205 basegfx::B2DPoint aStartPos(rV.maPositionA); in VecToGrad() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/ilwis/ |
H A D | ilwisdataset.cpp | 1585 ((double *) pImage)[i] = rV; in SetValue() 1596 rV = ((GByte *)pImage)[i]; in GetValue() 1602 rV = ((GInt16 *) pImage)[i]; in GetValue() 1611 rV = ((float *) pImage)[i]; in GetValue() 1619 return rV; in GetValue() 1700 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1709 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1718 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1744 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1752 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/definition/ |
H A D | fractal_transf_difs_ellipsoid.cpp | 35 CVector3 rV = CVector3(zc.x, zc.y, zc.z); in FormulaCode() local 36 rV /= rads3; in FormulaCode() 38 CVector3 rrV = rV; in FormulaCode() 41 double rd = rV.Length(); in FormulaCode()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/ilwis/ |
H A D | ilwisdataset.cpp | 1618 ((double *) pImage)[i] = rV; in SetValue() 1629 rV = ((GByte *)pImage)[i]; in GetValue() 1635 rV = ((GInt16 *) pImage)[i]; in GetValue() 1644 rV = ((float *) pImage)[i]; in GetValue() 1652 return rV; in GetValue() 1732 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1741 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1750 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1775 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1783 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/ilwis/ |
H A D | ilwisdataset.cpp | 1618 ((double *) pImage)[i] = rV; in SetValue() 1629 rV = ((GByte *)pImage)[i]; in GetValue() 1635 rV = ((GInt16 *) pImage)[i]; in GetValue() 1644 rV = ((float *) pImage)[i]; in GetValue() 1652 return rV; in GetValue() 1732 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1741 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1750 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1775 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1783 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/ilwis/ |
H A D | ilwisdataset.cpp | 1618 ((double *) pImage)[i] = rV; in SetValue() 1629 rV = ((GByte *)pImage)[i]; in GetValue() 1635 rV = ((GInt16 *) pImage)[i]; in GetValue() 1644 rV = ((float *) pImage)[i]; in GetValue() 1652 return rV; in GetValue() 1732 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1741 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1750 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1775 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() 1783 (psInfo.bUseValueRange ? psInfo.vr.iRaw(rV) : rV); in IWriteBlock() [all …]
|
/dports/science/step/step-21.12.3/stepcore/ |
H A D | coulombforce.cc | 69 Vector2d rV = pe2->positionVariance() + pe1->positionVariance(); in calcForce() local 75 … Vector2d(rV[0] * square(1/r[0] - 3*r[0]/rnorm2) + rV[1] * square(3*r[1]/rnorm2), in calcForce() 76 … rV[1] * square(1/r[1] - 3*r[1]/rnorm2) + rV[0] * square(3*r[0]/rnorm2))).array(); in calcForce()
|
H A D | spring.cc | 109 Vector2d rV = se->position2Variance() + se->position1Variance(); in calcForce() local 118 forceV[0] += rV[0] * square(_stiffness*( 1 - _restLength/l*(1 - square(r[0]/l)) ) + in calcForce() 120 rV[1] * square(_stiffness*_restLength*r[0]*r[1]/(l*l*l) + in calcForce() 122 forceV[1] += rV[1] * square(_stiffness*( 1 - _restLength/l*(1 - square(r[1]/l)) ) + in calcForce() 124 rV[0] * square(_stiffness*_restLength*r[0]*r[1]/(l*l*l) + in calcForce() 219 Vector2d rV = position2Variance() + position1Variance(); in lengthVariance() local 220 return (r[0]*r[0]*rV[0] + r[1]*r[1]*rV[1])/r.squaredNorm(); in lengthVariance() 271 Vector2d rV = position2Variance() + position1Variance(); in forceVariance() local 280 rV.dot((( s->stiffness() - s->damping()*r.dot(v) / (l*l) ) / l * r + in forceVariance()
|
H A D | gravitation.cc | 86 Vector2d rV = pe2->positionVariance() + pe1->positionVariance(); in calcForce() local 88 Vector2d(rV[0] * square(1/r[0] - 3*r[0]/rnorm2) + rV[1] * square(3*r[1]/rnorm2), in calcForce() 89 … rV[1] * square(1/r[1] - 3*r[1]/rnorm2) + rV[0] * square(3*r[0]/rnorm2))).array(); in calcForce()
|
/dports/math/osi/Osi-0.108.6/CoinUtils/test/ |
H A D | CoinShallowPackedVectorTest.cpp | 292 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 293 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 294 assert( rV != r ); in CoinShallowPackedVectorUnitTest() 295 assert( r.isEquivalent(rV) ); in CoinShallowPackedVectorUnitTest() 322 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 323 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 348 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 349 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 350 assert( r.isEquivalent(rV) ); in CoinShallowPackedVectorUnitTest() 377 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local [all …]
|
H A D | CoinPackedVectorTest.cpp | 611 CoinPackedVector rV ; in CoinPackedVectorUnitTest() local 615 rV.setVector(ne1,inx1,el1) ; in CoinPackedVectorUnitTest() 617 assert(r.isEquivalent(rV)) ; in CoinPackedVectorUnitTest() 626 rV.setVector(ner,inxr,elr); in CoinPackedVectorUnitTest() 649 CoinPackedVector rV; in CoinPackedVectorUnitTest() local 650 rV.setVector(ner,inxr,elr); in CoinPackedVectorUnitTest() 672 CoinPackedVector rV; in CoinPackedVectorUnitTest() local 673 rV.setVector(ner,inxr,elr); in CoinPackedVectorUnitTest() 699 CoinPackedVector rV; in CoinPackedVectorUnitTest() local 709 r.isEquivalent(rV) ; in CoinPackedVectorUnitTest() [all …]
|
/dports/math/coinutils/CoinUtils-2.11.4/CoinUtils/test/ |
H A D | CoinShallowPackedVectorTest.cpp | 292 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 293 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 294 assert( rV != r ); in CoinShallowPackedVectorUnitTest() 295 assert( r.isEquivalent(rV) ); in CoinShallowPackedVectorUnitTest() 322 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 323 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 348 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 349 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 350 assert( r.isEquivalent(rV) ); in CoinShallowPackedVectorUnitTest() 377 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local [all …]
|
/dports/math/clp/Clp-1.17.3/CoinUtils/test/ |
H A D | CoinShallowPackedVectorTest.cpp | 292 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 293 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 294 assert( rV != r ); in CoinShallowPackedVectorUnitTest() 295 assert( r.isEquivalent(rV) ); in CoinShallowPackedVectorUnitTest() 322 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 323 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 348 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local 349 rV.setVector(ner,inxr,elr); in CoinShallowPackedVectorUnitTest() 350 assert( r.isEquivalent(rV) ); in CoinShallowPackedVectorUnitTest() 377 CoinPackedVector rV; in CoinShallowPackedVectorUnitTest() local [all …]
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Common/ |
H A D | Mtx.h | 96 inline static double Normalize(int aN,const SimTK::Vec3& aV,SimTK::Vec3& rV){ in Normalize() argument 99 rV = aV.scalarMultiply(1.0/mag); in Normalize() 101 rV.setToZero(); in Normalize() 141 static void PerpendicularUnitVector(const SimTK::Vec3& aV, SimTK::Vec3& rV) in PerpendicularUnitVector() argument 144 rV = unit.perp().asVec3(); in PerpendicularUnitVector()
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/opencl/ |
H A D | transf_difs_ellipsoid.cl | 23 REAL3 rV = (REAL3){zc.x, zc.y, zc.z}; 24 rV /= rads3; 26 REAL3 rrV = rV; 29 REAL rd = length(rV);
|
/dports/graphics/vigra/vigra-8acd73a/src/matlab/ |
H A D | testVigraExtensions.m | 103 if rV(1) == handle(2) 104 rV(1) = 1; 106 rV(1) = 2; 129 if ~isequal(rV, tV); 191 if rV(1) == 2 192 rV(1) = 1; 194 rV(1) = 2; 213 if ~isequal(rV, tV); 254 if rV(1) == 2 255 rV(1) = 1; [all …]
|