vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PolygonUtils.h File Reference
#include <vector>
#include <osg/Vec3>
#include <osg/Matrix>

Go to the source code of this file.

Namespaces

namespace  APConstrainedMovement
 

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)