opensurgsim
Public Member Functions | Public Attributes | List of all members
SurgSim::Math::Segment Class Reference

Public Member Functions

 Segment (const VectorType &pointA, const VectorType &pointB)
 
VectorType pointOnLine (double s) const
 Point on the line that the segment is on, s =< 1 and s >= 0 will give you a point on the segment.
 

Public Attributes

VectorType a
 
VectorType b
 
VectorType ab
 

The documentation for this class was generated from the following file: