From c2930e5ec10d0d7d390904f77f19ca1ed8263163 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 12 Aug 2007 13:18:50 +0000 Subject: [PATCH] Added getStart()/getEnd() --- include/osgUtil/LineSegmentIntersector | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osgUtil/LineSegmentIntersector b/include/osgUtil/LineSegmentIntersector index 7f5692049..dd404f1da 100644 --- a/include/osgUtil/LineSegmentIntersector +++ b/include/osgUtil/LineSegmentIntersector @@ -74,7 +74,10 @@ class OSGUTIL_EXPORT LineSegmentIntersector : public Intersector inline Intersection getFirstIntersection() { Intersections& intersections = getIntersections(); return intersections.empty() ? Intersection() : *(intersections.begin()); } 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 const osg::Vec3d& setEnd() const { return _end; } public: