| /AOO41X/main/basegfx/source/polygon/ |
| H A D | b2dlinegeometry.cxx | 148 const B2DVector aEdge(rCandidate.getEndPoint() - rCandidate.getStartPoint()); in impIsSimpleEdge() local 150 if(aEdge.equalZero()) in impIsSimpleEdge() 159 const double fScalarAE(aEdge.scalar(aTangentA)); in impIsSimpleEdge() 168 const double fScalarE(aEdge.scalar(aEdge)); in impIsSimpleEdge() 186 const double fScalarBE(aEdge.scalar(aTangentB)); in impIsSimpleEdge() 236 B2DCubicBezier aEdge; in subdivideToSimple() local 239 aEdge.setStartPoint(rCandidate.getB2DPoint(0)); in subdivideToSimple() 240 aRetval.append(aEdge.getStartPoint()); in subdivideToSimple() 246 aEdge.setControlPointA(rCandidate.getNextControlPoint(a)); in subdivideToSimple() 247 aEdge.setControlPointB(rCandidate.getPrevControlPoint(nNextIndex)); in subdivideToSimple() [all …]
|
| H A D | b2dpolygonclipper.cxx | 105 B2DCubicBezier aEdge; in clipPolygonOnParallelAxis() local 110 aCandidate.getBezierSegment(a, aEdge); in clipPolygonOnParallelAxis() 111 const B2DPoint aTestPoint(aEdge.interpolatePoint(0.5)); in clipPolygonOnParallelAxis() 118 … if(!aRun.count() || !aRun.getB2DPoint(aRun.count() - 1).equal(aEdge.getStartPoint())) in clipPolygonOnParallelAxis() 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() [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 566 aEdge.setStartPoint(rCandidate.getB2DPoint(nIndex)); in getEdgeLength() 567 aEdge.setControlPointA(rCandidate.getNextControlPoint(nIndex)); in getEdgeLength() 568 aEdge.setControlPointB(rCandidate.getPrevControlPoint(nNextIndex)); in getEdgeLength() 569 aEdge.setEndPoint(rCandidate.getB2DPoint(nNextIndex)); in getEdgeLength() 571 fRetval = aEdge.getLength(); in getEdgeLength() 596 B2DCubicBezier aEdge; in getLength() local 597 aEdge.setStartPoint(rCandidate.getB2DPoint(0)); in getLength() 602 aEdge.setControlPointA(rCandidate.getNextControlPoint(a)); in getLength() 603 aEdge.setControlPointB(rCandidate.getPrevControlPoint(nNextIndex)); in getLength() [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()
|
| /AOO41X/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() 455 const double fCross(aVecA.cross(aEdge) * fInverseEdgeLength); 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() 477 const double fCross(aVecB.cross(aEdge) * fInverseEdgeLength); in testAndSolveTrivialBezier() 482 const double fScale(fabs(aEdge.getX()) > fabs(aEdge.getY()) in testAndSolveTrivialBezier() 483 ? aVecB.getX() / aEdge.getX() in testAndSolveTrivialBezier() [all …]
|
| H A D | b2dbeziertools.cxx | 64 const B2DVector aEdge(aNext - aCurrent); in B2DCubicBezierHelper() local 66 fLength += aEdge.getLength(); in B2DCubicBezierHelper()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|