Lines Matching refs:rDistances

566 void CalcDistances( const Polygon& rPoly, std::vector< double >& rDistances )  in CalcDistances()  argument
574 rDistances.push_back( fDistance ); in CalcDistances()
576 std::partial_sum( rDistances.begin(), rDistances.end(), rDistances.begin() ); in CalcDistances()
577 double fLength = rDistances[ rDistances.size() - 1 ]; in CalcDistances()
580 std::vector< double >::iterator aIter = rDistances.begin(); in CalcDistances()
581 std::vector< double >::iterator aEnd = rDistances.end(); in CalcDistances()
588 …ePoints( const Polygon& /*rOutlinePoly*/, const std::vector< double >& rDistances, const Rectangle… in InsertMissingOutlinePoints() argument
600 …std::vector< double >::const_iterator aIter = std::upper_bound( rDistances.begin(), rDistances.end… in InsertMissingOutlinePoints()
601 if ( aIter != rDistances.end() && ( *aIter > fLastDistance ) && ( *aIter < fDistance ) ) in InsertMissingOutlinePoints()
613 …std::vector< double >::const_iterator aIter = std::lower_bound( rDistances.begin(), rDistances.end… in InsertMissingOutlinePoints()
614 if ( aIter-- != rDistances.begin() ) in InsertMissingOutlinePoints()
632 void GetPoint( const Polygon& rPoly, const std::vector< double >& rDistances, const double& fX, dou… in GetPoint() argument
637 …std::vector< double >::const_iterator aIter = std::lower_bound( rDistances.begin(), rDistances.end… in GetPoint()
638 sal_uInt16 nIdx = sal::static_int_cast<sal_uInt16>( std::distance( rDistances.begin(), aIter ) ); in GetPoint()
639 if ( aIter == rDistances.end() ) in GetPoint()
644 if ( nIdx && ( aIter != rDistances.end() ) && ( *aIter != fX ) ) in GetPoint()
646 nIdx = sal::static_int_cast<sal_uInt16>( std::distance( rDistances.begin(), aIter ) ); in GetPoint()