Lines Matching defs:Path

2  * @brief Path - a sequence of contiguous curves
51 class Path;
112 friend class ::Geom::Path;
271 struct ShapeTraits<Path> {
274 typedef Path AffineClosureType;
280 * Path represents a sequence of contiguous curves, also known as a spline.
308 * Internally, Path uses copy-on-write data. This is done for two reasons: first,
311 * Therefore you can return Path and PathVector from functions without worrying
317 * It's not very convenient to create a Path directly. To construct paths more easily,
321 class Path
322 : boost::equality_comparable< Path >
327 typedef PathInternal::BaseIterator<Path> iterator;
328 typedef PathInternal::BaseIterator<Path const> const_iterator;
348 // Path(Path const &other) - use default copy constructor
351 explicit Path(Point const &p = Point())
362 Path(Iter first, Iter last, bool closed = false, bool stitch = false)
380 explicit Path(Rect const &r);
382 explicit Path(ConvexHull const &);
384 explicit Path(Circle const &c);
386 explicit Path(Ellipse const &e);
388 virtual ~Path() {}
390 // Path &operator=(Path const &other) - use default assignment operator
394 void swap(Path &other) throw() {
402 * @relates Path */
403 friend inline void swap(Path &a, Path &b) throw() { a.swap(b); }
500 bool operator==(Path const &other) const;
504 Path &operator*=(T const &tr) {
514 friend Path operator*(Path const &path, T const &tr) {
516 Path result(path);
558 std::vector<PathIntersection> intersect(Path const &other, Coord precision = EPSILON) const;
582 void appendPortionTo(Path &p, Coord f, Coord t) const;
588 void appendPortionTo(Path &p, PathTime const &from, PathTime const &to, bool cross_start = false) const {
595 void appendPortionTo(Path &p, PathInterval const &ival) const {
602 void appendPortionTo(Path &p, PathInterval const &ival,
605 Path portion(Coord f, Coord t) const {
606 Path ret;
612 Path portion(Interval const &i) const { return portion(i.min(), i.max()); }
620 Path portion(PathTime const &from, PathTime const &to, bool cross_start = false) const {
621 Path ret;
629 Path portion(PathInterval const &ival) const {
630 Path ret;
641 Path reversed() const;
703 void append(Path const &other) {
709 void replace(iterator replaced, Path const &path);
710 void replace(iterator first, iterator last, Path const &path);
847 }; // end class Path
851 inline Coord nearest_time(Point const &p, Path const &c) {
856 bool are_near(Path const &a, Path const &b, Coord precision = EPSILON);
858 std::ostream &operator<<(std::ostream &out, Path const &path);