Lines Matching refs:B2DPoint
397 bool isInside(const B2DPolygon& rCandidate, const B2DPoint& rPoint, bool bWithBorder) in isInside()
412 B2DPoint aCurrentPoint(aCandidate.getB2DPoint(nPointCount - 1L)); in isInside()
416 const B2DPoint aPreviousPoint(aCurrentPoint); in isInside()
464 const B2DPoint aTestPoint(aPolygon.getB2DPoint(a)); in isInside()
515 const B2DPoint aPreviousPoint(aCandidate.getB2DPoint((!a) ? nPointCount - 1L : a - 1L)); in getSignedArea()
516 const B2DPoint aCurrentPoint(aCandidate.getB2DPoint(a)); in getSignedArea()
575 const B2DPoint aCurrent(rCandidate.getB2DPoint(nIndex)); in getEdgeLength()
576 const B2DPoint aNext(rCandidate.getB2DPoint(nNextIndex)); in getEdgeLength()
612 B2DPoint aCurrent(rCandidate.getB2DPoint(0)); in getLength()
617 const B2DPoint aNext(rCandidate.getB2DPoint(nNextIndex)); in getLength()
628 B2DPoint getPositionAbsolute(const B2DPolygon& rCandidate, double fDistance, double fLength) in getPositionAbsolute()
630 B2DPoint aRetval; in getPositionAbsolute()
731 const B2DPoint aNextPoint(rCandidate.getB2DPoint(nNextIndex)); in getPositionAbsolute()
766 B2DPoint getPositionRelative(const B2DPolygon& rCandidate, double fDistance, double fLength) in getPositionRelative()
854 const B2DPoint aStart(rCandidate.getB2DPoint(a)); in getSnippetAbsolute()
855 const B2DPoint aEnd(rCandidate.getB2DPoint(nNextIndex)); in getSnippetAbsolute()
912 const B2DPoint aStart(rCandidate.getB2DPoint(a)); in getSnippetAbsolute()
913 const B2DPoint aEnd(rCandidate.getB2DPoint(nNextIndex)); in getSnippetAbsolute()
1002 const B2DPoint aStart1(rCandidate.getB2DPoint(nIndex1)); in findCut()
1003 const B2DPoint aEnd1(rCandidate.getB2DPoint(nEnd1)); in findCut()
1006 const B2DPoint aStart2(rCandidate.getB2DPoint(nIndex2)); in findCut()
1007 const B2DPoint aEnd2(rCandidate.getB2DPoint(nEnd2)); in findCut()
1033 const B2DPoint aStart1(rCandidate1.getB2DPoint(nIndex1)); in findCut()
1034 const B2DPoint aEnd1(rCandidate1.getB2DPoint(nEnd1)); in findCut()
1037 const B2DPoint aStart2(rCandidate2.getB2DPoint(nIndex2)); in findCut()
1038 const B2DPoint aEnd2(rCandidate2.getB2DPoint(nEnd2)); in findCut()
1050 const B2DPoint& rEdge1Start, const B2DVector& rEdge1Delta, in findCut()
1051 const B2DPoint& rEdge2Start, const B2DVector& rEdge2Delta, in findCut()
1078 const B2DPoint aEnd1(rEdge1Start + rEdge1Delta); in findCut()
1079 const B2DPoint aEnd2(rEdge2Start + rEdge2Delta); in findCut()
1092 const B2DPoint aEnd2(rEdge2Start + rEdge2Delta); in findCut()
1106 const B2DPoint aEnd1(rEdge1Start + rEdge1Delta); in findCut()
1143 const B2DPoint aEnd1(rEdge1Start + rEdge1Delta); in findCut()
1155 const B2DPoint aEnd2(rEdge2Start + rEdge2Delta); in findCut()
1219 const B2DPoint& rPoint, in isPointOnEdge()
1220 const B2DPoint& rEdgeStart, in isPointOnEdge()
1553 …bool isInEpsilonRange(const B2DPoint& rEdgeStart, const B2DPoint& rEdgeEnd, const B2DPoint& rTestP… in isInEpsilonRange()
1589 const B2DPoint aCutPoint(interpolate(rEdgeStart, rEdgeEnd, fCut)); in isInEpsilonRange()
1631 …bool isInEpsilonRange(const B2DPolygon& rCandidate, const B2DPoint& rTestPosition, double fDistanc… in isInEpsilonRange()
1640 B2DPoint aCurrent(aCandidate.getB2DPoint(0)); in isInEpsilonRange()
1648 const B2DPoint aNext(aCandidate.getB2DPoint(nNextIndex)); in isInEpsilonRange()
1686 const B2DPoint aCenter(rRect.getCenter()); in createPolygonFromRect()
1732 const B2DPoint aBottomCenter(rRect.getCenter().getX(), rRect.getMaxY()); 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()
1748 const B2DPoint aCenter(rRect.getCenter()); in createPolygonFromRect()
1764 const B2DPoint aBottomCenter(rRect.getCenter().getX(), rRect.getMaxY()); in createPolygonFromRect()
1770 const B2DPoint aBottomRight(rRect.getMaxX(), rRect.getMaxY()); in createPolygonFromRect()
1771 const B2DPoint aStart(aBottomRight + B2DPoint(-fBowX, 0.0)); in createPolygonFromRect()
1772 const B2DPoint aStop(aBottomRight + B2DPoint(0.0, -fBowY)); in createPolygonFromRect()
1779 const B2DPoint aTopRight(rRect.getMaxX(), rRect.getMinY()); in createPolygonFromRect()
1780 const B2DPoint aStart(aTopRight + B2DPoint(0.0, fBowY)); in createPolygonFromRect()
1781 const B2DPoint aStop(aTopRight + B2DPoint(-fBowX, 0.0)); in createPolygonFromRect()
1788 const B2DPoint aTopLeft(rRect.getMinX(), rRect.getMinY()); in createPolygonFromRect()
1789 const B2DPoint aStart(aTopLeft + B2DPoint(fBowX, 0.0)); in createPolygonFromRect()
1790 const B2DPoint aStop(aTopLeft + B2DPoint(0.0, fBowY)); in createPolygonFromRect()
1797 const B2DPoint aBottomLeft(rRect.getMinX(), rRect.getMaxY()); in createPolygonFromRect()
1798 const B2DPoint aStart(aBottomLeft + B2DPoint(0.0, -fBowY)); in createPolygonFromRect()
1799 const B2DPoint aStop(aBottomLeft + B2DPoint(fBowX, 0.0)); in createPolygonFromRect()
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()
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()
1850 B2DPolygon createPolygonFromCircle( const B2DPoint& rCenter, double fRadius ) in createPolygonFromCircle()
1862 B2DPoint aPoint(1.0, 0.0); in impCreateUnitCircle()
1863 B2DPoint aForward(1.0, fScaledKappa); in impCreateUnitCircle()
1864 B2DPoint aBackward(1.0, -fScaledKappa); in impCreateUnitCircle()
1899 B2DPoint aPoint(1.0, 0.0); in createHalfUnitCircle()
1900 B2DPoint aForward(1.0, fScaledKappa); in createHalfUnitCircle()
1901 B2DPoint aBackward(1.0, -fScaledKappa); in createHalfUnitCircle()
1972 … B2DPolygon createPolygonFromEllipse( const B2DPoint& rCenter, double fRadiusX, double fRadiusY ) in createPolygonFromEllipse()
2011 aRetval.append(B2DPoint(cos(fStart), sin(fStart))); in createPolygonFromUnitEllipseSegment()
2022 B2DPoint aSegStart(cos(fStart), sin(fStart)); in createPolygonFromUnitEllipseSegment()
2028 const B2DPoint aSegEnd(cos(fEnd), sin(fEnd)); in createPolygonFromUnitEllipseSegment()
2032 aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2033 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2040 B2DPoint aSegEnd(cos(fSegEndRad), sin(fSegEndRad)); in createPolygonFromUnitEllipseSegment()
2043 aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2044 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2054 aSegEnd = B2DPoint(cos(fSegEndRad), sin(fSegEndRad)); in createPolygonFromUnitEllipseSegment()
2057 … aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fScaledKappa), in createPolygonFromUnitEllipseSegment()
2058 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fScaledKappa), in createPolygonFromUnitEllipseSegment()
2068 aSegEnd = B2DPoint(cos(fEnd), sin(fEnd)); in createPolygonFromUnitEllipseSegment()
2071 aSegStart + (B2DPoint(-aSegStart.getY(), aSegStart.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2072 aSegEnd - (B2DPoint(-aSegEnd.getY(), aSegEnd.getX()) * fFactor), in createPolygonFromUnitEllipseSegment()
2083 …B2DPolygon createPolygonFromEllipseSegment( const B2DPoint& rCenter, double fRadiusX, double fRadi… in createPolygonFromEllipseSegment()
2100 B2DPoint aPrevPoint(rCandidate.getB2DPoint(nPointCount - 1L)); in hasNeutralPoints()
2101 B2DPoint aCurrPoint(rCandidate.getB2DPoint(0L)); in hasNeutralPoints()
2105 const B2DPoint aNextPoint(rCandidate.getB2DPoint((a + 1) % nPointCount)); in hasNeutralPoints()
2133 B2DPoint aPrevPoint(rCandidate.getB2DPoint(nPointCount - 1L)); in removeNeutralPoints()
2134 B2DPoint aCurrPoint(rCandidate.getB2DPoint(0L)); in removeNeutralPoints()
2138 const B2DPoint aNextPoint(rCandidate.getB2DPoint((a + 1) % nPointCount)); in removeNeutralPoints()
2182 const B2DPoint aPrevPoint(rCandidate.getB2DPoint(nPointCount - 1L)); in isConvex()
2183 B2DPoint aCurrPoint(rCandidate.getB2DPoint(0L)); in isConvex()
2189 const B2DPoint aNextPoint(rCandidate.getB2DPoint((a + 1) % nPointCount)); in isConvex()
2219 const B2DPoint aPrev(rCandidate.getB2DPoint(getIndexOfPredecessor(nIndex, rCandidate))); in getOrientationForIndex()
2220 const B2DPoint aCurr(rCandidate.getB2DPoint(nIndex)); in getOrientationForIndex()
2221 const B2DPoint aNext(rCandidate.getB2DPoint(getIndexOfSuccessor(nIndex, rCandidate))); in getOrientationForIndex()
2228 …bool isPointOnLine(const B2DPoint& rStart, const B2DPoint& rEnd, const B2DPoint& rCandidate, bool … in isPointOnLine()
2263 bool isPointOnPolygon(const B2DPolygon& rCandidate, const B2DPoint& rPoint, bool bWithPoints) in isPointOnPolygon()
2271 B2DPoint aCurrentPoint(aCandidate.getB2DPoint(0L)); in isPointOnPolygon()
2275 const B2DPoint aNextPoint(aCandidate.getB2DPoint((a + 1L) % nPointCount)); in isPointOnPolygon()
2293 …bool isPointInTriangle(const B2DPoint& rA, const B2DPoint& rB, const B2DPoint& rC, const B2DPoint&… in isPointInTriangle()
2309 …ol arePointsOnSameSideOfLine(const B2DPoint& rStart, const B2DPoint& rEnd, const B2DPoint& rCandid… in arePointsOnSameSideOfLine()
2340 const B2DPoint aStart(rCandidate.getB2DPoint(0L)); in addTriangleFan()
2341 B2DPoint aLast(rCandidate.getB2DPoint(1L)); in addTriangleFan()
2345 const B2DPoint aCurrent(rCandidate.getB2DPoint(a)); in addTriangleFan()
2393 const B2DPoint& rPoint0( rPoly.getB2DPoint(i % nCount) ); in isRectangle()
2394 const B2DPoint& rPoint1( rPoly.getB2DPoint((i+1) % nCount) ); in isRectangle()
2479 B2DPoint aPoint(rCandidate.getB2DPoint(a)); in createB3DPolygonFromB2DPolygon()
2505 aRetval.append(B2DPoint(aCandidate.getX(), aCandidate.getY())); in createB2DPolygonFromB3DPolygon()
2514 …double getDistancePointToEndlessRay(const B2DPoint& rPointA, const B2DPoint& rPointB, const B2DPoi… in getDistancePointToEndlessRay()
2532 const B2DPoint aCutPoint(rPointA + rCut * aVector1); in getDistancePointToEndlessRay()
2538 …double getSmallestDistancePointToEdge(const B2DPoint& rPointA, const B2DPoint& rPointB, const B2DP… in getSmallestDistancePointToEdge()
2571 const B2DPoint aCutPoint(rPointA + fCut * aVector1); in getSmallestDistancePointToEdge()
2579 …double getSmallestDistancePointToPolygon(const B2DPolygon& rCandidate, const B2DPoint& rTestPoint,… in getSmallestDistancePointToPolygon()
2656 …B2DPoint distort(const B2DPoint& rCandidate, const B2DRange& rOriginal, const B2DPoint& rTopLeft, … in distort()
2673 return B2DPoint(fNewX, fNewY); in distort()
2677 …nst B2DRange& rOriginal, const B2DPoint& rTopLeft, const B2DPoint& rTopRight, const B2DPoint& rBot… in distort()
2712 B2DPolygon rotateAroundPoint(const B2DPolygon& rCandidate, const B2DPoint& rCenter, double fAngle) in rotateAroundPoint()
2801 const B2DPoint aCurrentPoint(rCandidate.getB2DPoint(nIndex)); in setContinuityInPoint()
2962 B2DPoint aPrev(rCandidate.getB2DPoint(nPointCount - 1L)); in growInNormalDirection()
2963 B2DPoint aCurrent(rCandidate.getB2DPoint(0L)); in growInNormalDirection()
2967 const B2DPoint aNext(rCandidate.getB2DPoint(a + 1L == nPointCount ? 0L : a + 1L)); in growInNormalDirection()
3017 const B2DPoint aNewPoint(getPositionRelative(rCandidate, fRelativePos, fLength)); in reSegmentPolygon()
3083 …const B2DPoint aSplitPoint(interpolate(aCurrentEdge.getStartPoint(), aCurrentEdge.getEndPoint(), f… in reSegmentPolygonEdges()
3145 const B2DPoint aPoints[] = in isPolyPolygonEqualRectangle()
3147 B2DPoint(rRect.getMinX(),rRect.getMinY()), in isPolyPolygonEqualRectangle()
3148 B2DPoint(rRect.getMaxX(),rRect.getMinY()), in isPolyPolygonEqualRectangle()
3149 B2DPoint(rRect.getMaxX(),rRect.getMaxY()), in isPolyPolygonEqualRectangle()
3150 B2DPoint(rRect.getMinX(),rRect.getMaxY()) in isPolyPolygonEqualRectangle()
3159 const B2DPoint &p1 = aPoints[j]; in isPolyPolygonEqualRectangle()
3160 const B2DPoint &p2 = aPoints[(j+1)%4]; in isPolyPolygonEqualRectangle()
3164 const B2DPoint p(rPoly.getB2DPoint(i)); in isPolyPolygonEqualRectangle()
3392 B2DPoint aCurrent(aCandidate.getB2DPoint(0)); in createEdgesOfGivenLength()
3399 const B2DPoint aNext(aCandidate.getB2DPoint(nNextIndex)); in createEdgesOfGivenLength()
3483 B2DPoint aCurrent(aEqualLenghEdges.getB2DPoint(0)); in createWaveline()
3489 const B2DPoint aNext(aEqualLenghEdges.getB2DPoint(nNextIndex)); in createWaveline()
3541 const B2DPoint aPoint(rCandidateA.getB2DPoint(a)); in equal()
3548 const basegfx::B2DPoint aPrev(rCandidateA.getPrevControlPoint(a)); in equal()
3553 const basegfx::B2DPoint aNext(rCandidateA.getNextControlPoint(a)); in equal()
3583 B2DPoint aCurrPoint(rCandidate.getB2DPoint(0)); in snapPointsOfHorizontalOrVerticalEdges()
3593 const B2DPoint aNextPoint(rCandidate.getB2DPoint(nNextIndex)); in snapPointsOfHorizontalOrVerticalEdges()
3606 const B2DPoint aSnappedPoint( in snapPointsOfHorizontalOrVerticalEdges()
3645 basegfx::B2DPoint aLast(rCandidate.getB2DPoint(0)); in containsOnlyHorizontalAndVerticalEdges()
3650 const basegfx::B2DPoint aCurrent(rCandidate.getB2DPoint(nNextIndex)); in containsOnlyHorizontalAndVerticalEdges()
3763 aRetval.append(B2DPoint(pArray->X, pArray->Y)); in UnoPointSequenceToB2DPolygon()
3802 const B2DPoint aPoint(aPolygon.getB2DPoint(b)); in B2DPolygonToUnoPointSequence()
3840 B2DPoint aNewCoordinatePair(pPointSequence->X, pPointSequence->Y); pPointSequence++; in UnoPolygonBezierCoordsToB2DPolygon()
3842 B2DPoint aControlA; in UnoPolygonBezierCoordsToB2DPolygon()
3843 B2DPoint aControlB; in UnoPolygonBezierCoordsToB2DPolygon()
3859 aNewCoordinatePair = B2DPoint(pPointSequence->X, pPointSequence->Y); in UnoPolygonBezierCoordsToB2DPolygon()
3869 aNewCoordinatePair = B2DPoint(pPointSequence->X, pPointSequence->Y); in UnoPolygonBezierCoordsToB2DPolygon()
3880 aNewCoordinatePair = B2DPoint(pPointSequence->X, pPointSequence->Y); in UnoPolygonBezierCoordsToB2DPolygon()
4022 … const B2DPoint aClosingPoint(rPolygon.getB2DPoint(nPointCount - 1L)); in B2DPolygonToUnoPolygonBezierCoords()
4061 const B2DPoint aB2DPoint(rPolygon.getB2DPoint(a)); in B2DPolygonToUnoPolygonBezierCoords()