Lines Matching defs:Intersection
3 * \brief Intersection utilities
43 /** @brief Intersection between two shapes.
46 class Intersection
47 : boost::totally_ordered< Intersection<TimeA, TimeB> >
54 Intersection(TA const &sa, TB const &sb, TimeA const &ta, TimeB const &tb)
61 Intersection(TimeA const &ta, TimeB const &tb, Point const &p)
67 /// Intersection point, as calculated by the intersection algorithm.
76 friend inline void swap(Intersection &a, Intersection &b) {
83 bool operator==(Intersection const &other) const {
88 bool operator<(Intersection const &other) const {
113 typedef Intersection<> IntersectionType;
117 std::vector< Intersection<A, B> > transpose(std::vector< Intersection<B, A> > const &in) {
118 std::vector< Intersection<A, B> > result;
120 result.push_back(Intersection<A, B>(in[i].second, in[i].first, in[i].point()));
126 void transpose_in_place(std::vector< Intersection<T, T> > &xs) {
132 typedef Intersection<> ShapeIntersection;