Replaced IntersectVisitor with IntersectorVisitor to be able to use/implement different types of Intersectos. Added LineSegmentIntersector and PolytopeIntersector working, last one only with point primitives.
Added PrimitiveFunctor class to get access to geometry vertices. PolytopeIntersector working also with lines. Unitary tests added
Added PrimitiveFunctor class to get access to geometry vertices. PolytopeIntersector working also with lines. Unitary tests added
Added intersectTriangle for PolytopeIntersector, not tested yet. Added more functions to primitiveFunctor
Polytope intersector working with triangles. Added unitary tests for PrimitiveFunctor
Removed old Intersector stuff
Rebased with current develop
Added jshint exception
PolytopePrimitiveIntersector now inherits from PrimitiveFunctor. Changed the way PrimitiveFunctor works, we don't need a callback now. Also several misc fixes
Fixed tests
Back to the callback system for the functors. Beautified the code. Added closures for intersect methods int PolytopePrimitiveIntersector
Fixed a closure bug in PolytopeIntersector that made the intersector get the wrong points. More misc fixes
Saving one operation in LineSegmentIntersector :)
Merge pull request #110 from jtorresfabra/PolytopeIntersector

New Intersection stuff