openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
OpenRAVE::geometry::triangle< T > Class Template Reference

A triangle defined by 3 points. More...

#include <geometry.h>

Public Member Functions

 triangle ()
 
 triangle (const RaveVector< T > &v1, const RaveVector< T > &v2, const RaveVector< T > &v3)
 
 ~triangle ()
 
const RaveVector< T > & operator[] (int i) const
 
RaveVector< T > & operator[] (int i)
 
RaveVector< T > normal ()
 assumes CCW ordering of vertices
 

Public Attributes

RaveVector< T > v1
 
RaveVector< T > v2
 
RaveVector< T > v3
 the vertices of the triangle
 

Detailed Description

template<typename T>
class OpenRAVE::geometry::triangle< T >

A triangle defined by 3 points.

Definition at line 673 of file geometry.h.

Constructor & Destructor Documentation

template<typename T>
OpenRAVE::geometry::triangle< T >::triangle ( )
inline

Definition at line 676 of file geometry.h.

template<typename T>
OpenRAVE::geometry::triangle< T >::triangle ( const RaveVector< T > &  v1,
const RaveVector< T > &  v2,
const RaveVector< T > &  v3 
)
inline

Definition at line 678 of file geometry.h.

template<typename T>
OpenRAVE::geometry::triangle< T >::~triangle ( )
inline

Definition at line 680 of file geometry.h.

Member Function Documentation

template<typename T>
RaveVector<T> OpenRAVE::geometry::triangle< T >::normal ( )
inline

assumes CCW ordering of vertices

Definition at line 693 of file geometry.h.

template<typename T>
const RaveVector<T>& OpenRAVE::geometry::triangle< T >::operator[] ( int  i) const
inline

Definition at line 685 of file geometry.h.

template<typename T>
RaveVector<T>& OpenRAVE::geometry::triangle< T >::operator[] ( int  i)
inline

Definition at line 688 of file geometry.h.

Member Data Documentation

template<typename T>
RaveVector<T> OpenRAVE::geometry::triangle< T >::v1

Definition at line 683 of file geometry.h.

template<typename T>
RaveVector<T> OpenRAVE::geometry::triangle< T >::v2

Definition at line 683 of file geometry.h.

template<typename T>
RaveVector<T> OpenRAVE::geometry::triangle< T >::v3

the vertices of the triangle

Definition at line 683 of file geometry.h.


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