quad.cpp File Reference

#include "quad.h"
#include "paramset.h"
#include "dynload.h"
Include dependency graph for quad.cpp:

Go to the source code of this file.

Functions

bool IsDegenerate (const Point &p0, const Point &p1, const Point &p2, const Point &p3)
bool IsPlanar (const Point &p0, const Point &p1, const Point &p2, const Point &p3)
bool IsConvex (const Point &p0, const Point &p1, const Point &p2, const Point &p3)

Variables

static
DynamicLoader::RegisterShape
< Quad
r ("quad")

Function Documentation

bool IsConvex ( const Point p0,
const Point p1,
const Point p2,
const Point p3 
)

Definition at line 103 of file quad.cpp.

References lux::Cross(), lux::Dot(), lux::Normalize(), lux::Vector::x, and lux::Vector::z.

Referenced by lux::Quad::CreateShape().

bool IsDegenerate ( const Point p0,
const Point p1,
const Point p2,
const Point p3 
)

Definition at line 69 of file quad.cpp.

References lux::Vector::Length().

Referenced by lux::Quad::CreateShape().

bool IsPlanar ( const Point p0,
const Point p1,
const Point p2,
const Point p3 
)

Definition at line 82 of file quad.cpp.

References lux::Cross(), lux::Dot(), and lux::Normalize().

Referenced by lux::Quad::CreateShape().


Variable Documentation

DynamicLoader::RegisterShape<Quad> r("quad") [static]
Generated by  doxygen 1.6.2-20100208