Added getStart()/getEnd()

This commit is contained in:
Robert Osfield 2007-08-12 13:18:50 +00:00
parent 113805c78a
commit c2930e5ec1

View File

@ -74,7 +74,10 @@ class OSGUTIL_EXPORT LineSegmentIntersector : public Intersector
inline Intersection getFirstIntersection() { Intersections& intersections = getIntersections(); return intersections.empty() ? Intersection() : *(intersections.begin()); } inline Intersection getFirstIntersection() { Intersections& intersections = getIntersections(); return intersections.empty() ? Intersection() : *(intersections.begin()); }
inline void setStart(const osg::Vec3d& start) { _start = start; } inline void setStart(const osg::Vec3d& start) { _start = start; }
inline const osg::Vec3d& getStart() const { return _start; }
inline void setEnd(const osg::Vec3d& end) { _end = end; } inline void setEnd(const osg::Vec3d& end) { _end = end; }
inline const osg::Vec3d& setEnd() const { return _end; }
public: public: