25 #ifndef MPBLOCKS_BROWN79_INVERSION_HPP_
26 #define MPBLOCKS_BROWN79_INVERSION_HPP_
31 template <
class Traits>
34 template <
class Traits>
39 template <
class Traits>
45 template <
class Traits>
48 Point v = p - m_center;
51 v = (m_radius * m_radius / v.squaredNorm()) * v;
57 template <
class Traits>
63 template <
class Traits>
68 template <
class Traits>
77 #endif // MPBLOCKS_BROWN79_INVERSION_HPP_
Point invert(const Point &p)
invert a point
int init()
calls FCGX_Init
Scalar radius() const
return the radius of this inversion map
void init(const Point ¢er, Scalar radius=1.0)
alter the inversion map to have a new center and radius
Point operator()(const Point &p)
invert a point
const Point & center() const
return the center of this inversion map
Inversion()
create an uninitialized inversion