/aoo42x/main/basegfx/source/polygon/ |
H A D | b2dlinegeometry.cxx | 150 if(aEdge.equalZero()) in impIsSimpleEdge() 168 const double fScalarE(aEdge.scalar(aEdge)); in impIsSimpleEdge() 236 B2DCubicBezier aEdge; in subdivideToSimple() local 240 aRetval.append(aEdge.getStartPoint()); in subdivideToSimple() 253 if(aEdge.isBezier()) in subdivideToSimple() 278 aEdge.split(fSplitPos, &aLeft, &aEdge); in subdivideToSimple() 328 aEdge.setStartPoint(aEdge.getEndPoint()); in subdivideToSimple() 845 B2DCubicBezier aEdge; in createAreaGeometry() local 936 aEdge, in createAreaGeometry() 947 aEdge, in createAreaGeometry() [all …]
|
H A D | b2dpolygonclipper.cxx | 105 B2DCubicBezier aEdge; in clipPolygonOnParallelAxis() local 120 aRun.append(aEdge.getStartPoint()); in clipPolygonOnParallelAxis() 123 if(aEdge.isBezier()) in clipPolygonOnParallelAxis() 125 … aRun.appendBezierSegment(aEdge.getControlPointA(), aEdge.getControlPointB(), aEdge.getEndPoint()); in clipPolygonOnParallelAxis() 129 aRun.append(aEdge.getEndPoint()); in clipPolygonOnParallelAxis() 357 const B2DVector aEdge(rPointB - rPointA); in clipPolygonOnEdge() local 362 aMatrixTransform.rotate(-atan2(aEdge.getY(), aEdge.getX())); in clipPolygonOnEdge() 390 const B2DVector aEdge(rPointB - rPointA); in clipPolyPolygonOnEdge() local 395 aMatrixTransform.rotate(-atan2(aEdge.getY(), aEdge.getX())); in clipPolyPolygonOnEdge() 449 if(aEdge.isBezier()) in clipPolyPolygonOnPolyPolygon() [all …]
|
H A D | b2dtrapezoid.cxx | 227 TrDeEdgeEntries::reference aEdge, in splitEdgeAtGivenPoint() argument 232 if(aEdge.getStart().equal(rCutPoint, fTools::getSmallValue())) in splitEdgeAtGivenPoint() 238 if(aEdge.getEnd().equal(rCutPoint, fTools::getSmallValue())) in splitEdgeAtGivenPoint() 243 const double fOldDeltaYStart(rCutPoint.getY() - aEdge.getStart().getY()); in splitEdgeAtGivenPoint() 249 aEdge.setStart(&rCutPoint); in splitEdgeAtGivenPoint() 253 const double fNewDeltaYStart(aEdge.getEnd().getY() - rCutPoint.getY()); in splitEdgeAtGivenPoint() 259 aEdge.setEnd(&rCutPoint); in splitEdgeAtGivenPoint() 266 &aEdge.getEnd(), in splitEdgeAtGivenPoint() 267 aEdge.getSortValue()); in splitEdgeAtGivenPoint() 270 aEdge.setEnd(&rCutPoint); in splitEdgeAtGivenPoint()
|
H A D | b2dpolygontools.cxx | 564 B2DCubicBezier aEdge; in getEdgeLength() local 571 fRetval = aEdge.getLength(); in getEdgeLength() 596 B2DCubicBezier aEdge; in getLength() local 606 fRetval += aEdge.getLength(); in getLength() 607 aEdge.setStartPoint(aEdge.getEndPoint()); in getLength() 1556 const B2DVector aEdge(rEdgeEnd - rEdgeStart); in isInEpsilonRange() local 1560 if(aEdge.equalZero()) in isInEpsilonRange() 1572 (aEdge.getX() * aEdge.getX() + aEdge.getY() * aEdge.getY())); in isInEpsilonRange() 3400 const B2DVector aEdge(aNext - aCurrent); in createEdgesOfGivenLength() local 3401 double fEdgeLength(aEdge.getLength()); in createEdgesOfGivenLength() [all …]
|
H A D | b2dpolygon.cxx | 565 basegfx::B2DCubicBezier aEdge; in getB2DRange() local 566 aEdge.setStartPoint(rSource.getB2DPoint(0)); in getB2DRange() 571 aEdge.setControlPointA(rSource.getNextControlPoint(b)); in getB2DRange() 572 aEdge.setControlPointB(rSource.getPrevControlPoint(nNextIndex)); in getB2DRange() 573 aEdge.setEndPoint(rSource.getB2DPoint(nNextIndex)); in getB2DRange() 575 if(aEdge.isBezier()) in getB2DRange() 577 const basegfx::B2DRange aBezierRangeWithControlPoints(aEdge.getRange()); in getB2DRange() 589 aEdge.getAllExtremumPositions(aExtremas); in getB2DRange() 595 aNewRange.expand(aEdge.interpolatePoint(aExtremas[c])); in getB2DRange() 601 aEdge.setStartPoint(aEdge.getEndPoint()); in getB2DRange()
|
H A D | b2dpolygoncutandtouch.cxx | 120 B2DCubicBezier aEdge; in mergeTemporaryPointsAndPolygon() local 129 rCandidate.getBezierSegment(a, aEdge); in mergeTemporaryPointsAndPolygon() 131 if(aEdge.isBezier()) in mergeTemporaryPointsAndPolygon() 146 aEdge.split(fRelativeSplitPoint, &aLeftPart, &aEdge); in mergeTemporaryPointsAndPolygon() 154 …aRetval.appendBezierSegment(aEdge.getControlPointA(), aEdge.getControlPointB(), aEdge.getEndPoint(… in mergeTemporaryPointsAndPolygon() 172 aRetval.append(aEdge.getEndPoint()); in mergeTemporaryPointsAndPolygon()
|
H A D | b3dpolygontools.cxx | 754 const B3DVector aEdge(rEdgeEnd - rEdgeStart); in isInEpsilonRange() local 758 if(aEdge.equalZero()) in isInEpsilonRange() 767 const double fScalarTestEdge(aEdge.scalar(aTestEdge)); in isInEpsilonRange() 768 const double fScalarStartEdge(aEdge.scalar(rEdgeStart)); in isInEpsilonRange() 769 const double fScalarEdge(aEdge.scalar(aEdge)); in isInEpsilonRange()
|
/aoo42x/main/basegfx/source/curve/ |
H A D | b2dcubicbezier.cxx | 425 const B2DVector aEdge(maEndPoint - maStartPoint); in testAndSolveTrivialBezier() local 429 if(!aEdge.equalZero()) in testAndSolveTrivialBezier() 448 : 1.0 / aEdge.getLength()); in testAndSolveTrivialBezier() 460 const double fScale(fabs(aEdge.getX()) > fabs(aEdge.getY()) in testAndSolveTrivialBezier() 461 ? aVecA.getX() / aEdge.getX() in testAndSolveTrivialBezier() 462 : aVecA.getY() / aEdge.getY()); in testAndSolveTrivialBezier() 482 const double fScale(fabs(aEdge.getX()) > fabs(aEdge.getY()) in testAndSolveTrivialBezier() 483 ? aVecB.getX() / aEdge.getX() in testAndSolveTrivialBezier() 484 : aVecB.getY() / aEdge.getY()); in testAndSolveTrivialBezier() 549 const B2DVector aEdge(maEndPoint - maStartPoint); in getEdgeLength() local [all …]
|
H A D | b2dbeziertools.cxx | 64 const B2DVector aEdge(aNext - aCurrent); in B2DCubicBezierHelper() local 66 fLength += aEdge.getLength(); in B2DCubicBezierHelper()
|
/aoo42x/main/svx/source/table/ |
H A D | tablehandles.cxx | 136 TableEdge aEdge(*aIter++); in getPolyPolygon() local 138 aStart[nPos] = aOffset[nPos] + aEdge.mnStart; in getPolyPolygon() 139 aEnd[nPos] = aOffset[nPos] + aEdge.mnEnd; in getPolyPolygon() 145 if(aEdge.meState == Visible) in getPolyPolygon()
|
/aoo42x/main/canvas/source/cairo/ |
H A D | cairo_canvashelper.cxx | 1064 basegfx::B2DPolygon aEdge; in doPolyPolygonPath() local 1065 aEdge.append(aCandidate.getB2DPoint(0)); in doPolyPolygonPath() 1066 aEdge.append(basegfx::B2DPoint(0.0, 0.0)); in doPolyPolygonPath() 1071 aEdge.setB2DPoint(1, aCandidate.getB2DPoint(nNextIndex)); in doPolyPolygonPath() 1072 aEdge.setNextControlPoint(0, aCandidate.getNextControlPoint(b)); in doPolyPolygonPath() 1073 aEdge.setPrevControlPoint(1, aCandidate.getPrevControlPoint(nNextIndex)); in doPolyPolygonPath() 1075 doPolyPolygonImplementation( basegfx::B2DPolyPolygon(aEdge), in doPolyPolygonPath() 1082 aEdge.setB2DPoint(0, aEdge.getB2DPoint(1)); in doPolyPolygonPath()
|
/aoo42x/main/svx/source/engine3d/ |
H A D | view3d.cxx | 182 …const basegfx::B2DVector aEdge(aMirrorAxisB.X() - aMirrorAxisA.X(), aMirrorAxisB.Y() - aMirrorAxis… in SetMirrorAxis() local 185 aMatrixTransform.rotate(-atan2(aEdge.getY(), aEdge.getX())); in SetMirrorAxis() 187 aMatrixTransform.rotate(atan2(aEdge.getY(), aEdge.getX())); in SetMirrorAxis()
|