Public Member Functions | Public Attributes
costmap_cspace::Vec Class Reference

#include <polygon.h>

List of all members.

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

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

Definition at line 65 of file polygon.h.

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

Definition at line 73 of file polygon.h.

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

Definition at line 77 of file polygon.h.

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

Definition at line 81 of file polygon.h.

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

Definition at line 69 of file polygon.h.

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

Definition at line 58 of file polygon.h.

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

Definition at line 48 of file polygon.h.

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

Definition at line 53 of file polygon.h.


Member Data Documentation

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 Sat Jun 22 2019 20:07:13