An element of path. More...
Public Member Functions | |
virtual | ~Element ()=0 |
virtual Element * | clone () const =0 |
virtual bool | approxEqualsTo (const Element *other, double eps) const =0 |
Test whether this element is equal to other. | |
virtual void | transform (const KEYTransformation &tr)=0 |
Transform this path element. | |
virtual WPXPropertyList | toWPG () const =0 |
Create WPG representation of this path element. |
An element of path.
libetonyek::KEYPath::Element::~Element | ( | ) | [pure virtual] |
virtual bool libetonyek::KEYPath::Element::approxEqualsTo | ( | const Element * | other, |
double | eps | ||
) | const [pure virtual] |
Test whether this element is equal to other.
other
has a compatible type, not that this
and other
have the same type (which would require double dispatch).this
and other
are equal. Referenced by libetonyek::approxEqual().
virtual Element* libetonyek::KEYPath::Element::clone | ( | ) | const [pure virtual] |
virtual WPXPropertyList libetonyek::KEYPath::Element::toWPG | ( | ) | const [pure virtual] |
Create WPG representation of this path element.
virtual void libetonyek::KEYPath::Element::transform | ( | const KEYTransformation & | tr | ) | [pure virtual] |
Transform this path element.
Referenced by libetonyek::KEYPath::operator*=().