- int get_endpoint_by_link(Track &) const;
- Vector get_endpoint_position(unsigned) const;
- float get_endpoint_direction(unsigned) const;
- bool snap_to(Track &, bool, float = 0);
- bool snap(Vector &, float &) const;
- void break_link(Track &);
- void break_links();
+ virtual unsigned get_n_snap_nodes() const;
+ virtual Snap get_snap_node(unsigned) const;
+ virtual bool snap(Snap &, float, SnapType = SNAP_DEFAULT) const;
+private:
+ virtual SnapType get_default_snap_type_to(const Object &) const;
+
+public:
+ virtual unsigned get_n_link_slots() const;
+ virtual Track *get_link(unsigned) const;