Lines Matching refs:fLength
628 B2DPoint getPositionAbsolute(const B2DPolygon& rCandidate, double fDistance, double fLength) in getPositionAbsolute() argument
645 if(fTools::equalZero(fLength)) in getPositionAbsolute()
647 fLength = getLength(rCandidate); in getPositionAbsolute()
656 sal_uInt32 nCount(sal_uInt32(-fDistance / fLength)); in getPositionAbsolute()
657 fDistance += double(nCount + 1L) * fLength; in getPositionAbsolute()
666 else if(fTools::moreOrEqual(fDistance, fLength)) in getPositionAbsolute()
672 sal_uInt32 nCount(sal_uInt32(fDistance / fLength)); in getPositionAbsolute()
673 fDistance -= (double)(nCount) * fLength; in getPositionAbsolute()
766 B2DPoint getPositionRelative(const B2DPolygon& rCandidate, double fDistance, double fLength) in getPositionRelative() argument
769 if(fTools::equalZero(fLength)) in getPositionRelative()
771 fLength = getLength(rCandidate); in getPositionRelative()
776 return getPositionAbsolute(rCandidate, fDistance * fLength, fLength); in getPositionRelative()
779 …DPolygon getSnippetAbsolute(const B2DPolygon& rCandidate, double fFrom, double fTo, double fLength) in getSnippetAbsolute() argument
786 if(fTools::equalZero(fLength)) in getSnippetAbsolute()
788 fLength = getLength(rCandidate); in getSnippetAbsolute()
798 if(fTools::more(fTo, fLength)) in getSnippetAbsolute()
800 fTo = fLength; in getSnippetAbsolute()
809 if(fTools::equalZero(fFrom) && fTools::equal(fTo, fLength)) in getSnippetAbsolute()
975 …DPolygon getSnippetRelative(const B2DPolygon& rCandidate, double fFrom, double fTo, double fLength) in getSnippetRelative() argument
978 if(fTools::equalZero(fLength)) in getSnippetRelative()
980 fLength = getLength(rCandidate); in getSnippetRelative()
985 return getSnippetAbsolute(rCandidate, fFrom * fLength, fTo * fLength, fLength); in getSnippetRelative()
3011 const double fLength(getLength(rCandidate)); in reSegmentPolygon() local
3017 const B2DPoint aNewPoint(getPositionRelative(rCandidate, fRelativePos, fLength)); in reSegmentPolygon()
3358 …B2DPolygon createEdgesOfGivenLength(const B2DPolygon& rCandidate, double fLength, double fStart, d… in createEdgesOfGivenLength() argument
3362 if(fLength < 0.0) in createEdgesOfGivenLength()
3364 fLength = 0.0; in createEdgesOfGivenLength()
3367 if(!fTools::equalZero(fLength)) in createEdgesOfGivenLength()
3410 fPositionInEdge += fLength; in createEdgesOfGivenLength()
3414 fAbsolutePosition += fLength; in createEdgesOfGivenLength()