RobWorkProject  23.9.11-
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LinePolar Class Reference

Public Member Functions

 LinePolar (double rho=0, double theta=0)
 
double getRho () const
 
double getTheta () const
 
const P2D & getNormal () const
 
double dist2 (const P2D &pnt)
 
Eigen::Vector2d e ()
 get the line olar as a Eigen Vector More...
 

Static Public Member Functions

static LinePolar make (const P2D &pnt, double theta)
 
static LinePolar make (const P2D &start, const P2D &end)
 
static P2D projectionPoint (const LinePolar &line, const P2D &pnt)
 
static P2D linePoint (const LinePolar &line)
 
static P2D normalProjectionVector (const LinePolar &line, const P2D &pnt)
 
static void print (const LinePolar &line)
 
static LinePolar lineToLocal (const Pose2D &pose, const LinePolar &line)
 

Public Attributes

double _rho
 
double _theta
 
P2D _normal
 

Member Function Documentation

◆ e()

Eigen::Vector2d e ( )

get the line olar as a Eigen Vector

Returns
Eigen Vector

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