Public API Reference

csTriangle Struct Reference
[Geometry utilities]

A triangle. More...

#include <csgeom/tri.h>

Inheritance diagram for csTriangle:

List of all members.

Public Member Functions

 csTriangle (const CS::TriangleT< int > &t)
 Copy constructor.
 csTriangle (int _a, int _b, int _c)
 Convenience constructor, builds a triangle with initializers.

Detailed Description

A triangle.

Note that this structure is only valid if used in combination with a vertex or edge table. 'a', 'b', and 'c' are then indices in that table (either vertices or edges).

Definition at line 111 of file tri.h.

Constructor & Destructor Documentation

csTriangle::csTriangle ( int  _a,
int  _b,
int  _c 
) [inline]

Convenience constructor, builds a triangle with initializers.

Definition at line 116 of file tri.h.

csTriangle::csTriangle ( const CS::TriangleT< int > &  t  )  [inline]

Copy constructor.

Definition at line 119 of file tri.h.

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

Generated for Crystal Space 2.0 by doxygen 1.6.1