21#include <com/sun/star/uno/Sequence.hxx>
41 cleanup(
const css::uno::Sequence< double > & rXValues,
42 const css::uno::Sequence< double > & rYValues,
46 sal_Int32 nSize = std::min( rXValues.getLength(), rYValues.getLength());
47 for( sal_Int32
i=0;
i<nSize; ++
i )
49 if( aPred( rXValues[
i], rYValues[
i] ))
51 aResult.first.push_back( rXValues[
i] );
52 aResult.second.push_back( rYValues[
i] );
63 {
return ! ( std::isnan(
x ) ||
74 {
return ! ( std::isnan(
x ) ||
86 {
return ! ( std::isnan(
x ) ||
98 {
return ! ( std::isnan(
x ) ||
110 {
return ! ( std::isnan(
x ) ||
123 {
return ! ( std::isnan(
x ) ||
bool operator()(double x, double y)
bool operator()(double x, double y)
bool operator()(double x, double y)
bool operator()(double x, double y)
bool operator()(double x, double y)
bool operator()(double x, double y)
std::pair< std::vector< double >, std::vector< double > > tDoubleVectorPair
tDoubleVectorPair cleanup(const css::uno::Sequence< double > &rXValues, const css::uno::Sequence< double > &rYValues, Pred aPred)
takes the given x- and y-values and copies them into the resulting pair, which contains x-values in t...