Back to class index
| LineSegment::ReverseSyntaxvoid LineSegment::Reverse(); [4 lines of code]Reverses the direction of this line segment. This function swaps the start and end points of this line segment so that it runs from b to a. This does not have an effect on the set of points represented by this line segment, but it reverses the direction of the vector returned by Dir(). Note This function operates in-place. See Also |