26 #ifndef MPBLOCKS_BROWN79_INVERSION_H_
27 #define MPBLOCKS_BROWN79_INVERSION_H_
43 template <
class Traits>
46 typedef typename Traits::Scalar
Scalar;
47 typedef typename Traits::Point
Point;
79 #endif // INVERSION_H_
Point invert(const Point &p)
invert a point
Scalar radius() const
return the radius of this inversion map
Scalar m_radius
the radius of inversion
Point m_center
the center of inversion
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
Represents the inversion operator described in Brown.
const Point & center() const
return the center of this inversion map
Inversion()
create an uninitialized inversion