Back to class index
| LineSegment::ExtremePointSyntaxfloat4 LineSegment::ExtremePoint(const float4 &direction) const; [4 lines of code]float4 LineSegment::ExtremePoint(const float4 &direction, float &projectionDistance) const; [6 lines of code] Computes an extreme point of this LineSegment in the given direction. An extreme point is a farthest point along this LineSegment in the given direction. Given a direction, this point is not necessarily unique. Parametersconst float4 &directionThe direction vector of the direction to find the extreme point. This vector may be unnormalized, but may not be null. Return ValueAn extreme point of this LineSegment in the given direction. The returned point is always either a or b. See Also |