/trunk/main/basegfx/source/polygon/ |
H A D | b2dpolygoncutandtouch.cxx | 59 temporaryPoint(const B2DPoint& rNewPoint, sal_uInt32 nIndex, double fCut) in temporaryPoint() argument 62 mfCut(fCut) in temporaryPoint() 250 double fCut(aVecA.cross(aVecB)); in findEdgeCutsTwoEdges() local 252 if(!fTools::equalZero(fCut)) in findEdgeCutsTwoEdges() 256 …fCut = (aVecB.getY() * (rCurrB.getX() - rCurrA.getX()) + aVecB.getX() * (rCurrA.getY() - rCurrB.ge… in findEdgeCutsTwoEdges() 258 if(fTools::more(fCut, fZero) && fTools::less(fCut, fOne)) in findEdgeCutsTwoEdges() 278 const B2DPoint aCutPoint(interpolate(rCurrA, rNextA, fCut)); in findEdgeCutsTwoEdges() 279 rTempPointsA.push_back(temporaryPoint(aCutPoint, nIndA, fCut)); in findEdgeCutsTwoEdges() 679 const double fCut((bTestUsingX) in findTouchesOnEdge() local 685 if(fTools::more(fCut, fZero) && fTools::less(fCut, fOne)) in findTouchesOnEdge() [all …]
|
H A D | b3dpolygonclipper.cxx | 96 …late(B3DPolygon& rDest, const B3DPolygon& rSource, sal_uInt32 nIndA, sal_uInt32 nIndB, double fCut) in impAppendInterpolate() argument 100 rDest.append(interpolate(aCurrPoint, aNextPoint, fCut)); in impAppendInterpolate() 106 rDest.setBColor(rDest.count() - 1L, interpolate(aCurrBColor, aNextBColor, fCut)); in impAppendInterpolate() 113 rDest.setNormal(rDest.count() - 1L, interpolate(aCurrVector, aNextVector, fCut)); in impAppendInterpolate() 120 rDest.setTextureCoordinate(rDest.count() - 1L, interpolate(aCurrTxCo, aNextTxCo, fCut)); in impAppendInterpolate() 233 const double fCut(impGetCut(aCurrent, aNext, fPlaneOffset, ePlaneOrthogonal)); in clipPolygonOnOrthogonalPlane() local 234 impAppendInterpolate(aNewPolygon, rCandidate, a, nNextIndex, fCut); in clipPolygonOnOrthogonalPlane() 267 const double fCut(impGetCut(aCurrent, aNext, fPlaneOffset, ePlaneOrthogonal)); in clipPolygonOnOrthogonalPlane() local 268 impAppendInterpolate(aNewPolygon, rCandidate, a, nNextIndex, fCut); in clipPolygonOnOrthogonalPlane()
|
H A D | b3dpolygontools.cxx | 770 const double fCut((fScalarTestEdge - fScalarStartEdge) / fScalarEdge); in isInEpsilonRange() local 774 if(fTools::less(fCut, fZero)) in isInEpsilonRange() 779 else if(fTools::more(fCut, fOne)) in isInEpsilonRange() 787 const B3DPoint aCutPoint(interpolate(rEdgeStart, rEdgeEnd, fCut)); in isInEpsilonRange() 1124 …l, const B3DPoint& rPlanePoint, const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, double& fCut) in getCutBetweenLineAndPlane() argument 1136 fCut = fScalarCompare / fScalarEdge; in getCutBetweenLineAndPlane() 1144 …n(const B3DPolygon& rCandidate, const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, double& fCut) in getCutBetweenLineAndPolygon() argument 1156 … return getCutBetweenLineAndPlane(aPlaneNormal, aPointOnPlane, rEdgeStart, rEdgeEnd, fCut); in getCutBetweenLineAndPolygon()
|
H A D | b2dpolygontools.cxx | 1569 double fCut( in isInEpsilonRange() local 1576 if(fTools::less(fCut, fZero)) in isInEpsilonRange() 1581 else if(fTools::more(fCut, fOne)) in isInEpsilonRange() 1589 const B2DPoint aCutPoint(interpolate(rEdgeStart, rEdgeEnd, fCut)); in isInEpsilonRange() 2553 const double fCut(fDividend / fDivisor); in getSmallestDistancePointToEdge() local 2555 if(fCut < 0.0) in getSmallestDistancePointToEdge() 2561 else if(fCut > 1.0) in getSmallestDistancePointToEdge() 2571 const B2DPoint aCutPoint(rPointA + fCut * aVector1); in getSmallestDistancePointToEdge() 2573 rCut = fCut; in getSmallestDistancePointToEdge()
|
/trunk/main/drawinglayer/source/processor3d/ |
H A D | cutfindprocessor3d.cxx | 188 double fCut(0.0); in processBasePrimitive3D() local 190 … if(basegfx::tools::getCutBetweenLineAndPlane(aPlaneNormal, aPointOnPlane, maFront, maBack, fCut)) in processBasePrimitive3D() 192 … const basegfx::B3DPoint aCutPoint(basegfx::interpolate(maFront, maBack, fCut)); in processBasePrimitive3D()
|
H A D | shadow3dextractor.cxx | 284 …const double fCut(basegfx::B3DVector(maPlanePoint - aCandidate).scalar(maShadowPlaneNormal) / mfLi… in impDoShadowProjection() local 285 aCandidate += maLightNormal * fCut; in impDoShadowProjection()
|
/trunk/main/basegfx/inc/basegfx/polygon/ |
H A D | b3dpolygontools.hxx | 160 …, const B3DPoint& rPlanePoint, const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, double& fCut); 164 …(const B3DPolygon& rCandidate, const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, double& fCut);
|