Changeset 437 for trunk/VUT/GtpVisibilityPreprocessor/src/RayInfo.h
- Timestamp:
- 11/25/05 22:31:30 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RayInfo.h
r420 r437 7 7 class VssRay; 8 8 class RayInfo; 9 class Plane3; 10 class Vector3; 9 11 10 12 typedef vector<RayInfo> RayInfoContainer; … … 40 42 } 41 43 44 /** Extracts the scalar of the starting point of the ray segment 45 that lies in the axis. 46 */ 47 float ExtrapOrigin(const int axis) const; 48 /** Extracts the scalar of the termination point of the ray segment 49 that lies in the axis. 50 */ 51 float ExtrapTermination(const int axis) const; 42 52 43 float ExtrapOrigin(const int axis) const; 53 /** Extracts the starting point of the ray segment. 54 */ 55 Vector3 ExtrapOrigin() const; 44 56 45 float ExtrapTermination(const int axis) const; 57 /** Extracts the end point of the ray segment. 58 */ 59 Vector3 ExtrapTermination() const; 46 60 47 61 float GetMinT () const; … … 52 66 void SetMaxT (const float t); 53 67 68 float SegmentLength() const; 69 float SqrSegmentLength() const; 70 54 71 /** Computes intersection of this ray with the axis aligned split plane. 72 55 73 @param axis axis of the split plane 56 @param position position of the split plane57 @param t returns the t value of the ray intersection74 @param position scalar position of the split plane for the chosen axis 75 @param t returns the t parameter value of the ray intersection 58 76 59 77 @returns 0 if ray intersects plane, -1 if on back side of plane, 1 if on front side 60 78 */ 61 79 int ComputeRayIntersection(const int axis, const float position, float &t) const; 80 81 /** Computes intersection of this ray with the split plane. 82 83 @param splitPlane the split plane 84 @param t returns the t parameter value of the ray intersection 85 86 @returns 0 if ray intersects plane, -1 if on back side of plane, 1 if on front side 87 */ 88 int ComputeRayIntersection(const Plane3 &splitPlane, float &t) const; 62 89 }; 63 90
Note: See TracChangeset
for help on using the changeset viewer.