Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Classes | Namespaces | Functions

piecewise.h File Reference

Piecewise function class. More...

#include <2geom/sbasis.h>
#include <vector>
#include <map>
#include <2geom/concepts.h>
#include <2geom/isnan.h>
#include <boost/concept_check.hpp>
Include dependency graph for piecewise.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Geom::Piecewise< T >

Namespaces

namespace  Geom
 

Various geometrical calculations.


Functions

template<typename T >
FragmentConcept< T >::BoundsType Geom::bounds_exact (const Piecewise< T > &f)
template<typename T >
FragmentConcept< T >::BoundsType Geom::bounds_fast (const Piecewise< T > &f)
template<typename T >
FragmentConcept< T >::BoundsType Geom::bounds_local (const Piecewise< T > &f, const OptInterval &_m)
template<typename T >
Piecewise< T > Geom::compose (Piecewise< T > const &f, SBasis const &g)
template<typename T >
Piecewise< T > Geom::compose (Piecewise< T > const &f, Piecewise< SBasis > const &g)
int Geom::compose_findSegIdx (std::map< double, unsigned >::iterator const &cut, std::map< double, unsigned >::iterator const &next, std::vector< double > const &levels, SBasis const &g)
std::map< double, unsigned > Geom::compose_pullback (std::vector< double > const &values, SBasis const &g)
template<typename T >
Piecewise< T > Geom::derivative (Piecewise< T > const &a)
Piecewise< SBasis > Geom::divide (Piecewise< SBasis > const &a, Piecewise< SBasis > const &b, unsigned k)
Piecewise< SBasis > Geom::divide (SBasis const &a, SBasis const &b, double tol, unsigned k, double zero)
Piecewise< SBasis > Geom::divide (Piecewise< SBasis > const &a, Piecewise< SBasis > const &b, double tol, unsigned k, double zero)
Piecewise< SBasis > Geom::divide (Piecewise< SBasis > const &a, SBasis const &b, double tol, unsigned k, double zero)
Piecewise< SBasis > Geom::divide (SBasis const &a, Piecewise< SBasis > const &b, double tol, unsigned k, double zero)
template<typename T >
Geom::elem_portion (const Piecewise< T > &a, unsigned i, double from, double to)
template<typename T >
Piecewise< T > Geom::integral (Piecewise< T > const &a)
std::vector< std::vector
< double > > 
Geom::multi_roots (Piecewise< SBasis > const &f, std::vector< double > const &values)
template<typename T >
Piecewise< T > Geom::operator* (Piecewise< T > const &a, T b)
template<typename T1 , typename T2 >
Piecewise< T2 > Geom::operator* (Piecewise< T1 > const &a, Piecewise< T2 > const &b)
template<typename T >
Piecewise< T > Geom::operator* (Piecewise< T > const &a, double b)
template<typename T >
Piecewise< T > & Geom::operator*= (Piecewise< T > &a, double b)
template<typename T >
Piecewise< T > & Geom::operator*= (Piecewise< T > &a, Piecewise< T > const &b)
template<typename T >
Piecewise< T > Geom::operator+ (Piecewise< T > const &a, typename T::output_type b)
template<typename T >
Piecewise< T > Geom::operator+ (Piecewise< T > const &a, Piecewise< T > const &b)
template<typename T >
Piecewise< T > & Geom::operator+= (Piecewise< T > &a, Piecewise< T > const &b)
template<typename T >
Piecewise< T > & Geom::operator+= (Piecewise< T > &a, typename T::output_type b)
template<typename T >
Piecewise< T > Geom::operator- (Piecewise< T > const &a, Piecewise< T > const &b)
template<typename T >
Piecewise< T > Geom::operator- (Piecewise< T > const &a, typename T::output_type b)
template<typename T >
Piecewise< T > Geom::operator- (Piecewise< T > const &a)
template<typename T >
Piecewise< T > & Geom::operator-= (Piecewise< T > &a, Piecewise< T > const &b)
template<typename T >
Piecewise< T > & Geom::operator-= (Piecewise< T > &a, typename T::output_type b)
template<typename T >
Piecewise< T > Geom::operator/ (Piecewise< T > const &a, double b)
template<typename T >
Piecewise< T > & Geom::operator/= (Piecewise< T > &a, double b)
template<typename T >
Piecewise< T > Geom::partition (const Piecewise< T > &pw, std::vector< double > const &c)
template<typename T >
Piecewise< T > Geom::portion (const Piecewise< T > &pw, double from, double to)
template<typename T >
Piecewise< T > Geom::remove_short_cuts (Piecewise< T > const &f, double tol)
template<typename T >
Piecewise< T > Geom::remove_short_cuts_extending (Piecewise< T > const &f, double tol)
template<typename T >
Piecewise< T > Geom::reverse (Piecewise< T > const &f)
std::vector< double > Geom::roots (Piecewise< SBasis > const &f)
template<typename T >
std::vector< double > Geom::roots (const Piecewise< T > &pw)

Detailed Description

Piecewise function class.

Copyright 2007 Michael Sloan <mgsloan@gmail.com>

This library is free software; you can redistribute it and/or modify it either under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation (the "LGPL") or, at your option, under the terms of the Mozilla Public License Version 1.1 (the "MPL"). If you do not alter this notice, a recipient may use your version of this file under either the MPL or the LGPL.

You should have received a copy of the LGPL along with this library in the file COPYING-LGPL-2.1; if not, output to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA You should have received a copy of the MPL along with this library in the file COPYING-MPL-1.1

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the LGPL or the MPL for the specific language governing rights and limitations.

Definition in file piecewise.h.


Generated by  Doxygen 1.6.0   Back to index