12 #include <util/coExport.h>
13 #include <osg/BoundingBox>
26 coPlane(osg::Vec3 normal, osg::Vec3 point);
30 virtual void update(osg::Vec3 normal, osg::Vec3 point);
45 float getPointDistance(osg::Vec3 &point);
47 osg::Vec3 getProjectedPoint(osg::Vec3 &point);
53 bool getLineIntersectionPoint(osg::Vec3 &lp1, osg::Vec3 &lp2, osg::Vec3 &isectPoint);
60 bool getLineSegmentIntersectionPoint(osg::Vec3 &lp1, osg::Vec3 &lp2, osg::Vec3 &isectPoint);
63 int getBoxIntersectionPoints(osg::BoundingBox &box, osg::Vec3 *isectPoints);
float _d
Definition: coPlane.h:23
osg::Vec3 & getPosition()
Definition: coPlane.h:33
osg::Vec3 _point
Definition: coPlane.h:22
osg::Vec3 & getNormal()
Definition: coPlane.h:39
osg::Vec3 _normal
Definition: coPlane.h:21