xmsgrid  1.0
triangles.cpp File Reference

Functions dealing with triangles. More...

Go to the source code of this file.

Namespaces

 xms
 XMS Namespace.
 

Functions

double xms::trArea (const Pt3d &a_pt1, const Pt3d &a_pt2, const Pt3d &a_pt3)
 Return the signed planar area of the triangle (CCW Positive). More...
 
void xms::trBuildGridTrianglePolys (int rows, int cols, VecPt3d &a_points, VecInt2d &a_polys)
 Create something like this: More...
 
void xms::trBuildGridPolys (int rows, int cols, VecPt3d &pts, VecInt2d &polys)
 Build something like this: More...
 

Detailed Description

Functions dealing with triangles.

Definition in file triangles.cpp.