Lines Matching refs:aRetval
181 B2DPolygon aRetval; in adaptiveSubdivideByDistance() local
191 aRetval.reserve(nPointCount*4); in adaptiveSubdivideByDistance()
194 aRetval.append(aBezier.getStartPoint()); in adaptiveSubdivideByDistance()
232 aBezier.adaptiveSubdivideByDistance(aRetval, fBound); in adaptiveSubdivideByDistance()
237 aRetval.append(aBezier.getEndPoint()); in adaptiveSubdivideByDistance()
247 closeWithGeometryChange(aRetval); in adaptiveSubdivideByDistance()
251 return aRetval; in adaptiveSubdivideByDistance()
264 B2DPolygon aRetval; in adaptiveSubdivideByAngle() local
274 aRetval.reserve(nPointCount*4); in adaptiveSubdivideByAngle()
277 aRetval.append(aBezier.getStartPoint()); in adaptiveSubdivideByAngle()
305 aBezier.adaptiveSubdivideByAngle(aRetval, fAngleBound, true); in adaptiveSubdivideByAngle()
310 aRetval.append(aBezier.getEndPoint()); in adaptiveSubdivideByAngle()
320 closeWithGeometryChange(aRetval); in adaptiveSubdivideByAngle()
324 return aRetval; in adaptiveSubdivideByAngle()
337 B2DPolygon aRetval; in adaptiveSubdivideByCount() local
347 aRetval.reserve(nPointCount*4); in adaptiveSubdivideByCount()
350 aRetval.append(aBezier.getStartPoint()); in adaptiveSubdivideByCount()
370 aBezier.adaptiveSubdivideByCount(aRetval, nCount); in adaptiveSubdivideByCount()
375 aRetval.append(aBezier.getEndPoint()); in adaptiveSubdivideByCount()
385 closeWithGeometryChange(aRetval); in adaptiveSubdivideByCount()
389 return aRetval; in adaptiveSubdivideByCount()
478 B2DRange aRetval; in getRangeWithControlPoints() local
486 aRetval.expand(rCandidate.getB2DPoint(a)); in getRangeWithControlPoints()
490 aRetval.expand(rCandidate.getNextControlPoint(a)); in getRangeWithControlPoints()
491 aRetval.expand(rCandidate.getPrevControlPoint(a)); in getRangeWithControlPoints()
496 return aRetval; in getRangeWithControlPoints()
630 B2DPoint aRetval; in getPositionAbsolute() local
636 aRetval = rCandidate.getB2DPoint(0); in getPositionAbsolute()
710 aRetval = rCandidate.getB2DPoint(nIndex); in getPositionAbsolute()
720 aRetval = rCandidate.getB2DPoint(nNextIndex); in getPositionAbsolute()
725 aRetval = aRetval; in getPositionAbsolute()
739 aRetval, rCandidate.getNextControlPoint(nIndex), in getPositionAbsolute()
749 aRetval = aBezierSegment.interpolatePoint(fBezierDistance); in getPositionAbsolute()
757 aRetval = interpolate(aRetval, aNextPoint, fRelativeInEdge); in getPositionAbsolute()
763 return aRetval; in getPositionAbsolute()
816 B2DPolygon aRetval; in getSnippetAbsolute() local
830 aRetval.append(rCandidate.getB2DPoint(a)); in getSnippetAbsolute()
834 … aRetval.setNextControlPoint(aRetval.count() - 1, rCandidate.getNextControlPoint(a)); in getSnippetAbsolute()
844 aRetval.append(rCandidate.getB2DPoint(a)); in getSnippetAbsolute()
848 … aRetval.setNextControlPoint(aRetval.count() - 1, rCandidate.getNextControlPoint(a)); in getSnippetAbsolute()
873 aRetval.append(aRight.getStartPoint()); in getSnippetAbsolute()
874 … aRetval.setNextControlPoint(aRetval.count() - 1, aRight.getControlPointA()); in getSnippetAbsolute()
882 aRetval.append(interpolate(aStart, aEnd, fRelValue)); in getSnippetAbsolute()
902 aRetval.append(rCandidate.getB2DPoint(nNextIndex)); in getSnippetAbsolute()
906 … aRetval.setPrevControlPoint(aRetval.count() - 1, rCandidate.getPrevControlPoint(nNextIndex)); in getSnippetAbsolute()
931 aRetval.append(aLeft.getEndPoint()); in getSnippetAbsolute()
932 … aRetval.setPrevControlPoint(aRetval.count() - 1, aLeft.getControlPointB()); in getSnippetAbsolute()
940 aRetval.append(interpolate(aStart, aEnd, fRelValue)); in getSnippetAbsolute()
953 aRetval.append(rCandidate.getB2DPoint(nNextIndex)); in getSnippetAbsolute()
957 … aRetval.setPrevControlPoint(aRetval.count() - 1, rCandidate.getPrevControlPoint(nNextIndex)); in getSnippetAbsolute()
958 … aRetval.setNextControlPoint(aRetval.count() - 1, rCandidate.getNextControlPoint(nNextIndex)); in getSnippetAbsolute()
966 return aRetval; in getSnippetAbsolute()
994 CutFlagValue aRetval(CUTFLAG_NONE); in findCut() local
1010 aRetval = findCut( in findCut()
1015 return aRetval; in findCut()
1024 CutFlagValue aRetval(CUTFLAG_NONE); in findCut() local
1041 aRetval = findCut( in findCut()
1046 return aRetval; in findCut()
1055 CutFlagValue aRetval(CUTFLAG_NONE); in findCut() local
1071 aRetval = (CUTFLAG_START1|CUTFLAG_START2); in findCut()
1084 aRetval = (CUTFLAG_END1|CUTFLAG_END2); in findCut()
1097 aRetval = (CUTFLAG_START1|CUTFLAG_END2); in findCut()
1111 aRetval = (CUTFLAG_START2|CUTFLAG_END1); in findCut()
1126 aRetval = (CUTFLAG_LINE|CUTFLAG_START1); in findCut()
1136 aRetval = (CUTFLAG_LINE|CUTFLAG_START2); in findCut()
1148 aRetval = (CUTFLAG_LINE|CUTFLAG_END1); in findCut()
1160 aRetval = (CUTFLAG_LINE|CUTFLAG_END2); in findCut()
1197 aRetval = CUTFLAG_LINE; in findCut()
1215 return aRetval; in findCut()
1725 B2DPolygon aRetval; in createPolygonFromRect() local
1733 aRetval.append(aBottomCenter); in createPolygonFromRect()
1735 aRetval.append( B2DPoint( rRect.getMinX(), rRect.getMaxY() ) ); in createPolygonFromRect()
1736 aRetval.append( B2DPoint( rRect.getMinX(), rRect.getMinY() ) ); in createPolygonFromRect()
1737 aRetval.append( B2DPoint( rRect.getMaxX(), rRect.getMinY() ) ); in createPolygonFromRect()
1738 aRetval.append( B2DPoint( rRect.getMaxX(), rRect.getMaxY() ) ); in createPolygonFromRect()
1741 aRetval.setClosed( true ); in createPolygonFromRect()
1743 return aRetval; in createPolygonFromRect()
1756 B2DPolygon aRetval; in createPolygonFromRect() local
1765 aRetval.append(aBottomCenter); in createPolygonFromRect()
1773 aRetval.append(aStart); in createPolygonFromRect()
1774 …aRetval.appendBezierSegment(interpolate(aStart, aBottomRight, fKappa), interpolate(aStop, aBottomR… in createPolygonFromRect()
1782 aRetval.append(aStart); in createPolygonFromRect()
1783 …aRetval.appendBezierSegment(interpolate(aStart, aTopRight, fKappa), interpolate(aStop, aTopRight, … in createPolygonFromRect()
1791 aRetval.append(aStart); in createPolygonFromRect()
1792 …aRetval.appendBezierSegment(interpolate(aStart, aTopLeft, fKappa), interpolate(aStop, aTopLeft, fK… in createPolygonFromRect()
1800 aRetval.append(aStart); in createPolygonFromRect()
1801 …aRetval.appendBezierSegment(interpolate(aStart, aBottomLeft, fKappa), interpolate(aStop, aBottomLe… in createPolygonFromRect()
1805 aRetval.setClosed( true ); in createPolygonFromRect()
1810 aRetval.removeDoublePoints(); in createPolygonFromRect()
1813 return aRetval; in createPolygonFromRect()
1819 B2DPolygon aRetval; in createPolygonFromRect() local
1821 aRetval.append( B2DPoint( rRect.getMinX(), rRect.getMinY() ) ); in createPolygonFromRect()
1822 aRetval.append( B2DPoint( rRect.getMaxX(), rRect.getMinY() ) ); in createPolygonFromRect()
1823 aRetval.append( B2DPoint( rRect.getMaxX(), rRect.getMaxY() ) ); in createPolygonFromRect()
1824 aRetval.append( B2DPoint( rRect.getMinX(), rRect.getMaxY() ) ); in createPolygonFromRect()
1827 aRetval.setClosed( true ); in createPolygonFromRect()
1829 return aRetval; in createPolygonFromRect()
1834 static B2DPolygon aRetval; in createUnitPolygon() local
1836 if(!aRetval.count()) in createUnitPolygon()
1838 aRetval.append( B2DPoint( 0.0, 0.0 ) ); in createUnitPolygon()
1839 aRetval.append( B2DPoint( 1.0, 0.0 ) ); in createUnitPolygon()
1840 aRetval.append( B2DPoint( 1.0, 1.0 ) ); in createUnitPolygon()
1841 aRetval.append( B2DPoint( 0.0, 1.0 ) ); in createUnitPolygon()
1844 aRetval.setClosed( true ); in createUnitPolygon()
1847 return aRetval; in createUnitPolygon()
1974 B2DPolygon aRetval(createPolygonFromUnitCircle()); in createPolygonFromEllipse() local
1977 aRetval.transform(aMatrix); in createPolygonFromEllipse()
1979 return aRetval; in createPolygonFromEllipse()
1984 B2DPolygon aRetval; in createPolygonFromUnitEllipseSegment() local
2011 aRetval.append(B2DPoint(cos(fStart), sin(fStart))); in createPolygonFromUnitEllipseSegment()
2023 aRetval.append(aSegStart); in createPolygonFromUnitEllipseSegment()
2031 aRetval.appendBezierSegment( in createPolygonFromUnitEllipseSegment()
2042 aRetval.appendBezierSegment( in createPolygonFromUnitEllipseSegment()
2056 aRetval.appendBezierSegment( in createPolygonFromUnitEllipseSegment()
2070 aRetval.appendBezierSegment( in createPolygonFromUnitEllipseSegment()
2078 aRetval.removeDoublePoints(); in createPolygonFromUnitEllipseSegment()
2080 return aRetval; in createPolygonFromUnitEllipseSegment()
2085 B2DPolygon aRetval(createPolygonFromUnitEllipseSegment(fStart, fEnd)); in createPolygonFromEllipseSegment() local
2088 aRetval.transform(aMatrix); in createPolygonFromEllipseSegment()
2090 return aRetval; in createPolygonFromEllipseSegment()
2132 B2DPolygon aRetval; in removeNeutralPoints() local
2151 aRetval.append(aCurrPoint); in removeNeutralPoints()
2159 while(aRetval.count() && ORIENTATION_NEUTRAL == getOrientationForIndex(aRetval, 0L)) in removeNeutralPoints()
2161 aRetval.remove(0L); in removeNeutralPoints()
2165 aRetval.setClosed(rCandidate.isClosed()); in removeNeutralPoints()
2167 return aRetval; in removeNeutralPoints()
2475 B3DPolygon aRetval; in createB3DPolygonFromB2DPolygon() local
2480 aRetval.append(B3DPoint(aPoint.getX(), aPoint.getY(), fZCoordinate)); in createB3DPolygonFromB2DPolygon()
2484 aRetval.setClosed(rCandidate.isClosed()); in createB3DPolygonFromB2DPolygon()
2486 return aRetval; in createB3DPolygonFromB2DPolygon()
2492 B2DPolygon aRetval; in createB2DPolygonFromB3DPolygon() local
2505 aRetval.append(B2DPoint(aCandidate.getX(), aCandidate.getY())); in createB2DPolygonFromB3DPolygon()
2509 aRetval.setClosed(rCandidate.isClosed()); in createB2DPolygonFromB3DPolygon()
2511 return aRetval; in createB2DPolygonFromB3DPolygon()
2683 B2DPolygon aRetval; in distort() local
2687 …aRetval.append(distort(rCandidate.getB2DPoint(a), rOriginal, rTopLeft, rTopRight, rBottomLeft, rBo… in distort()
2693 …aRetval.setPrevControlPoint(a, distort(rCandidate.getPrevControlPoint(a), rOriginal, rTopLeft, rTo… in distort()
2698 …aRetval.setNextControlPoint(a, distort(rCandidate.getNextControlPoint(a), rOriginal, rTopLeft, rTo… in distort()
2703 aRetval.setClosed(rCandidate.isClosed()); in distort()
2704 return aRetval; in distort()
2715 B2DPolygon aRetval(rCandidate); in rotateAroundPoint() local
2721 aRetval.transform(aMatrix); in rotateAroundPoint()
2724 return aRetval; in rotateAroundPoint()
2729 B2DPolygon aRetval(rCandidate); in expandToCurve() local
2733 expandToCurveInPoint(aRetval, a); in expandToCurve()
2736 return aRetval; in expandToCurve()
2783 B2DPolygon aRetval(rCandidate); in setContinuity() local
2787 setContinuityInPoint(aRetval, a, eContinuity); in setContinuity()
2790 return aRetval; in setContinuity()
2957 B2DPolygon aRetval; in growInNormalDirection() local
2975 aRetval.append(aCurrent + aDirection); in growInNormalDirection()
2984 aRetval.setClosed(rCandidate.isClosed()); in growInNormalDirection()
2986 return aRetval; in growInNormalDirection()
2997 B2DPolygon aRetval; in reSegmentPolygon() local
3007 aRetval = rCandidate; in reSegmentPolygon()
3018 aRetval.append(aNewPoint); in reSegmentPolygon()
3022 aRetval.setClosed(rCandidate.isClosed()); in reSegmentPolygon()
3026 return aRetval; in reSegmentPolygon()
3043 B2DPolygon aRetval; in reSegmentPolygonEdges() local
3049 aRetval.append(aCurrentEdge.getStartPoint()); in reSegmentPolygonEdges()
3069 …aRetval.appendBezierSegment(aLeftPart.getControlPointA(), aLeftPart.getControlPointB(), aLeftPart.… in reSegmentPolygonEdges()
3074 …aRetval.appendBezierSegment(aCurrentEdge.getControlPointA(), aCurrentEdge.getControlPointB(), aCur… in reSegmentPolygonEdges()
3085 aRetval.append(aSplitPoint); in reSegmentPolygonEdges()
3091 aRetval.append(aCurrentEdge.getEndPoint()); in reSegmentPolygonEdges()
3099 aRetval.setClosed(rCandidate.isClosed()); in reSegmentPolygonEdges()
3100 return aRetval; in reSegmentPolygonEdges()
3118 B2DPolygon aRetval; in interpolate() local
3120 aRetval.setClosed(rOld1.isClosed() && rOld2.isClosed()); in interpolate()
3124 aRetval.append(interpolate(rOld1.getB2DPoint(a), rOld2.getB2DPoint(a), t)); in interpolate()
3128 …aRetval.setPrevControlPoint(a, interpolate(rOld1.getPrevControlPoint(a), rOld2.getPrevControlPoint… in interpolate()
3129 …aRetval.setNextControlPoint(a, interpolate(rOld1.getNextControlPoint(a), rOld2.getNextControlPoint… in interpolate()
3133 return aRetval; in interpolate()
3200 B2DPolygon aRetval; in createSimplifiedPolygon() local
3204 aRetval.append(aSegment.getStartPoint()); in createSimplifiedPolygon()
3230 …aRetval.appendBezierSegment(aLeft.getControlPointA(), aLeft.getControlPointB(), aLeft.getEndPoint(… in createSimplifiedPolygon()
3234 aRetval.append(aLeft.getEndPoint()); in createSimplifiedPolygon()
3241 …aRetval.appendBezierSegment(aSegment.getControlPointA(), aSegment.getControlPointB(), aSegment.get… in createSimplifiedPolygon()
3245 aRetval.append(aSegment.getEndPoint()); in createSimplifiedPolygon()
3251 aRetval.append(aSegment.getEndPoint()); in createSimplifiedPolygon()
3259 aRetval.setClosed(rCandidate.isClosed()); in createSimplifiedPolygon()
3260 aRetval.removeDoublePoints(); in createSimplifiedPolygon()
3262 return aRetval; in createSimplifiedPolygon()
3279 B2DPolygon aRetval; in simplifyCurveSegments() local
3284 aRetval.reserve( nEdgeCount+1); in simplifyCurveSegments()
3287 aRetval.append(aBezier.getStartPoint()); in simplifyCurveSegments()
3302 …aRetval.appendBezierSegment(aBezier.getControlPointA(), aBezier.getControlPointB(), aBezier.getEnd… in simplifyCurveSegments()
3307 aRetval.append(aBezier.getEndPoint()); in simplifyCurveSegments()
3317 closeWithGeometryChange(aRetval); in simplifyCurveSegments()
3320 return aRetval; in simplifyCurveSegments()
3338 B2DPolygon aRetval; in makeStartPoint() local
3343 aRetval.append(rCandidate.getB2DPoint(nSourceIndex)); in makeStartPoint()
3347 aRetval.setPrevControlPoint(a, rCandidate.getPrevControlPoint(nSourceIndex)); in makeStartPoint()
3348 aRetval.setNextControlPoint(a, rCandidate.getNextControlPoint(nSourceIndex)); in makeStartPoint()
3352 return aRetval; in makeStartPoint()
3360 B2DPolygon aRetval; in createEdgesOfGivenLength() local
3409 aRetval.append(aCurrent + (aEdge * fScalar)); in createEdgesOfGivenLength()
3437 aRetval.setClosed(aCandidate.isClosed()); in createEdgesOfGivenLength()
3442 aRetval = aCandidate; in createEdgesOfGivenLength()
3446 return aRetval; in createEdgesOfGivenLength()
3451 B2DPolygon aRetval; in createWaveline() local
3484 aRetval.append(aCurrent); in createWaveline()
3495 aRetval.appendBezierSegment( in createWaveline()
3508 aRetval = rCandidate; in createWaveline()
3516 return aRetval; in createWaveline()
3579 B2DPolygon aRetval(rCandidate); in snapPointsOfHorizontalOrVerticalEdges() local
3610 aRetval.setB2DPoint(a, aSnappedPoint); in snapPointsOfHorizontalOrVerticalEdges()
3622 return aRetval; in snapPointsOfHorizontalOrVerticalEdges()
3665 B2DVector aRetval(0.0, 0.0); in getTangentEnteringPoint() local
3671 return aRetval; in getTangentEnteringPoint()
3681 return aRetval; in getTangentEnteringPoint()
3692 aRetval = aSegment.getTangent(1.0); in getTangentEnteringPoint()
3694 if(!aRetval.equalZero()) in getTangentEnteringPoint()
3697 return aRetval; in getTangentEnteringPoint()
3704 return aRetval; in getTangentEnteringPoint()
3709 B2DVector aRetval(0.0, 0.0); in getTangentLeavingPoint() local
3715 return aRetval; in getTangentLeavingPoint()
3729 aRetval = aSegment.getTangent(0.0); in getTangentLeavingPoint()
3731 if(!aRetval.equalZero()) in getTangentLeavingPoint()
3734 return aRetval; in getTangentLeavingPoint()
3742 return aRetval; in getTangentLeavingPoint()
3752 B2DPolygon aRetval; in UnoPointSequenceToB2DPolygon() local
3757 aRetval.reserve(nLength); in UnoPointSequenceToB2DPolygon()
3763 aRetval.append(B2DPoint(pArray->X, pArray->Y)); in UnoPointSequenceToB2DPolygon()
3769 tools::checkClosed(aRetval); in UnoPointSequenceToB2DPolygon()
3773 return aRetval; in UnoPointSequenceToB2DPolygon()
3835 B2DPolygon aRetval; in UnoPolygonBezierCoordsToB2DPolygon() local
3850 aRetval.append(aNewCoordinatePair); in UnoPolygonBezierCoordsToB2DPolygon()
3900 && aControlA.equal(aRetval.getB2DPoint(aRetval.count() - 1))) in UnoPolygonBezierCoordsToB2DPolygon()
3908 aRetval.appendBezierSegment(aControlA, aControlB, aNewCoordinatePair); in UnoPolygonBezierCoordsToB2DPolygon()
3913 aRetval.append(aNewCoordinatePair); in UnoPolygonBezierCoordsToB2DPolygon()
3921 checkClosed(aRetval); in UnoPolygonBezierCoordsToB2DPolygon()
3924 return aRetval; in UnoPolygonBezierCoordsToB2DPolygon()