ilqgames
A new real-time solver for large-scale differential games.
Public Member Functions | List of all members
ilqgames::Polyline2 Class Reference

Public Member Functions

 Polyline2 (const PointList2 &points)
 
void AddPoint (const Point2 &point)
 
float Length () const
 
Point2 ClosestPoint (const Point2 &query, bool *is_vertex=nullptr, LineSegment2 *segment=nullptr, float *signed_squared_distance=nullptr, bool *is_endpoint=nullptr) const
 
Point2 PointAt (float route_pos, bool *is_vertex=nullptr, LineSegment2 *segment=nullptr, bool *is_endpoint=nullptr) const
 
const std::vector< LineSegment2 > & Segments () const
 

Detailed Description

Definition at line 54 of file polyline2.h.


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