Public Member Functions | Public Attributes | List of all members
costmap_cspace::Vec Class Reference

#include <polygon.h>

Public Member Functions

float cross (const Vec &a) const
 
float dist (const Vec &a) const
 
float dist_line (const Vec &a, const Vec &b) const
 
float dist_linestrip (const Vec &a, const Vec &b) const
 
float dot (const Vec &a) const
 
Vec operator- (const Vec &a) const
 
float & operator[] (const int &i)
 
const float & operator[] (const int &i) const
 

Public Attributes

float c [2]
 

Detailed Description

Definition at line 40 of file polygon.h.

Member Function Documentation

float costmap_cspace::Vec::cross ( const Vec a) const
inline

Definition at line 61 of file polygon.h.

float costmap_cspace::Vec::dist ( const Vec a) const
inline

Definition at line 69 of file polygon.h.

float costmap_cspace::Vec::dist_line ( const Vec a,
const Vec b 
) const
inline

Definition at line 73 of file polygon.h.

float costmap_cspace::Vec::dist_linestrip ( const Vec a,
const Vec b 
) const
inline

Definition at line 77 of file polygon.h.

float costmap_cspace::Vec::dot ( const Vec a) const
inline

Definition at line 65 of file polygon.h.

Vec costmap_cspace::Vec::operator- ( const Vec a) const
inline

Definition at line 54 of file polygon.h.

float& costmap_cspace::Vec::operator[] ( const int &  i)
inline

Definition at line 44 of file polygon.h.

const float& costmap_cspace::Vec::operator[] ( const int &  i) const
inline

Definition at line 49 of file polygon.h.

Member Data Documentation

float costmap_cspace::Vec::c[2]

Definition at line 43 of file polygon.h.


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


costmap_cspace
Author(s): Atsushi Watanabe
autogenerated on Tue Jul 9 2019 04:59:48