vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PolygonUtils.cpp File Reference

Namespaces

namespace  APConstrainedMovement
 

Macros

#define COLLINEAR_ORIENTATION   0
 
#define RIGHT_HAND_SIDE   -1
 
#define LEFT_HAND_SIDE   +1
 

Functions

float APConstrainedMovement::area (osg::Vec3 &point1, osg::Vec3 &point2, osg::Vec3 &point3)
 
osg::Vec3 APConstrainedMovement::centroid (Vecs3 polygon)
 
int APConstrainedMovement::orientation (float x1, float y1, float x2, float y2, float px, float py)
 
bool APConstrainedMovement::convexPolygon (Vecs3 polygon)
 

Macro Definition Documentation

#define COLLINEAR_ORIENTATION   0
#define LEFT_HAND_SIDE   +1
#define RIGHT_HAND_SIDE   -1