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 44 of file polygon.h.

Member Function Documentation

◆ cross()

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

Definition at line 65 of file polygon.h.

◆ dist()

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

Definition at line 73 of file polygon.h.

◆ dist_line()

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

Definition at line 77 of file polygon.h.

◆ dist_linestrip()

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

Definition at line 81 of file polygon.h.

◆ dot()

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

Definition at line 69 of file polygon.h.

◆ operator-()

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

Definition at line 58 of file polygon.h.

◆ operator[]() [1/2]

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

Definition at line 48 of file polygon.h.

◆ operator[]() [2/2]

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

Definition at line 53 of file polygon.h.

Member Data Documentation

◆ c

float costmap_cspace::Vec::c[2]

Definition at line 47 of file polygon.h.


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


costmap_cspace
Author(s): Atsushi Watanabe
autogenerated on Mon Jul 3 2023 02:38:47